com.mchange.io
Interface StringMemoryFile
- All Superinterfaces:
- ReadOnlyMemoryFile
- All Known Implementing Classes:
- LazyStringMemoryFileImpl
public interface StringMemoryFile
- extends ReadOnlyMemoryFile
|
Method Summary |
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. |
asString
java.lang.String asString()
throws java.io.IOException
- Converts the contents of the file to which this object is bound
to a String using the default character encoding.
- Throws:
java.io.IOException
asString
java.lang.String asString(java.lang.String enc)
throws java.io.IOException,
java.io.UnsupportedEncodingException
- Converts the contents of the file to which this object is bound
to a String using the specified character encoding.
- Throws:
java.io.IOException
java.io.UnsupportedEncodingException