public class LazyReadOnlyMemoryFileImpl extends Object implements ReadOnlyMemoryFile
Constructor and Description |
---|
LazyReadOnlyMemoryFileImpl(File file) |
LazyReadOnlyMemoryFileImpl(String fname) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
returns the contents of the file as a byte[]
|
File |
getFile()
returns the File object this MemoryFile is bound to
|
public LazyReadOnlyMemoryFileImpl(File file)
public LazyReadOnlyMemoryFileImpl(String fname)
public File getFile()
ReadOnlyMemoryFile
getFile
in interface ReadOnlyMemoryFile
public byte[] getBytes() throws IOException
ReadOnlyMemoryFile
getBytes
in interface ReadOnlyMemoryFile
IOException
Copyright © 2018 com.mchange. All rights reserved.