Package com.mchange.io
Interface StringMemoryFile
- All Superinterfaces:
ReadOnlyMemoryFile
- All Known Implementing Classes:
LazyStringMemoryFileImpl
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Converts the contents of the file to which this object is bound to a String using the default character encoding.Converts the contents of the file to which this object is bound to a String using the specified character encoding.Methods inherited from interface com.mchange.io.ReadOnlyMemoryFile
getBytes, getFile
-
Method Details
-
asString
Converts the contents of the file to which this object is bound to a String using the default character encoding.- Throws:
IOException
-
asString
Converts the contents of the file to which this object is bound to a String using the specified character encoding.
-