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
-
Method Details
-
getFile
returns the File object this MemoryFile is bound to- Throws:
IOException
-
getBytes
returns the contents of the file as a byte[]- Throws:
IOException
-