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