class MemVirtualBinaryFile extends MemVirtualFile with VirtualBinaryFile
A simple in-memory mutable virtual binary file.
- Alphabetic
- By Inheritance
- MemVirtualBinaryFile
- VirtualBinaryFile
- MemVirtualFile
- VirtualFile
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MemVirtualBinaryFile(p: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
content: Array[Byte]
Returns the content of the file.
Returns the content of the file.
- Definition Classes
- MemVirtualBinaryFile → VirtualBinaryFile
- def content_=(v: Array[Byte]): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exists: Boolean
Whether this file exists.
Whether this file exists. Reading a non-existent file may fail
- Definition Classes
- MemVirtualFile → VirtualFile
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
inputStream: InputStream
Returns a new InputStream of the file.
Returns a new InputStream of the file.
- Definition Classes
- VirtualBinaryFile
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
name: String
Name of the file/writer, including extension
Name of the file/writer, including extension
- Definition Classes
- VirtualFile
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
path: String
- Definition Classes
- MemVirtualFile → VirtualFile
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- VirtualFile → AnyRef → Any
-
def
toURI: URI
URI for this virtual file
URI for this virtual file
- Definition Classes
- VirtualFile
-
def
version: Option[String]
Optionally returns an implementation-dependent "version" token.
Optionally returns an implementation-dependent "version" token. Versions are compared with ==. If non-empty, a different version must be returned when the content changes. It should be equal if the content has not changed, but it is not mandatory. Such a token can be used by caches: the file need not be read and processed again if its version has not changed.
- Definition Classes
- MemVirtualFile → VirtualFile
-
def
version_=(v: Option[String]): Unit
- Definition Classes
- MemVirtualFile
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- final def withContent(v: Array[Byte]): MemVirtualBinaryFile.this.type
-
final
def
withVersion(v: Option[String]): MemVirtualBinaryFile.this.type
- Definition Classes
- MemVirtualFile