public interface StringMemoryFile extends ReadOnlyMemoryFile
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Converts the contents of the file to which this object is bound
to a String using the default character encoding.
|
String |
asString(String enc)
Converts the contents of the file to which this object is bound
to a String using the specified character encoding.
|
getBytes, getFileString asString() throws IOException
IOExceptionString asString(String enc) throws IOException, UnsupportedEncodingException