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, getFile
String asString() throws IOException
IOException
String asString(String enc) throws IOException, UnsupportedEncodingException
Copyright © 2017 com.mchange. All rights reserved.