Package com.mchange.io
Interface ReadOnlyMemoryFile
-
- All Known Subinterfaces:
StringMemoryFile
- All Known Implementing Classes:
LazyReadOnlyMemoryFileImpl
,LazyStringMemoryFileImpl
public interface ReadOnlyMemoryFile
A convenience interface, for when one wants to work with an entire file in memory as a byte[].
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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
-