Top Methods
com.mchange.io

public Interface StringMemoryFile

extends ReadOnlyMemoryFile
Known Direct Implementers
com.mchange.io.impl.LazyStringMemoryFileImpl
Imports
java.io.*

Method Summary

Modifier and TypeMethod and Description
public String
asString()

Converts the contents of the file to which this object is bound to a String using the default character encoding.

public String
asString(String enc)

Converts the contents of the file to which this object is bound to a String using the specified character encoding.

Inherited from com.mchange.io.ReadOnlyMemoryFile:
getBytesgetFile

Method Detail

asStringback to summary
public String asString() throws IOException

Converts the contents of the file to which this object is bound to a String using the default character encoding.

asStringback to summary
public String asString(String enc) throws IOException, UnsupportedEncodingException

Converts the contents of the file to which this object is bound to a String using the specified character encoding.