ReadOnlyMemoryFileLazyStringMemoryFileImplpublic class LazyReadOnlyMemoryFileImpl extends java.lang.Object implements ReadOnlyMemoryFile
| Constructor | Description |
|---|---|
LazyReadOnlyMemoryFileImpl(java.io.File file) |
|
LazyReadOnlyMemoryFileImpl(java.lang.String fname) |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getBytes() |
returns the contents of the file as a byte[]
|
java.io.File |
getFile() |
returns the File object this MemoryFile is bound to
|
public LazyReadOnlyMemoryFileImpl(java.io.File file)
public LazyReadOnlyMemoryFileImpl(java.lang.String fname)
public java.io.File getFile()
ReadOnlyMemoryFilegetFile in interface ReadOnlyMemoryFilepublic byte[] getBytes()
throws java.io.IOException
ReadOnlyMemoryFilegetBytes in interface ReadOnlyMemoryFilejava.io.IOException