Package com.mchange.io.impl
Class LazyStringMemoryFileImpl
java.lang.Object
com.mchange.io.impl.LazyReadOnlyMemoryFileImpl
com.mchange.io.impl.LazyStringMemoryFileImpl
- All Implemented Interfaces:
ReadOnlyMemoryFile,StringMemoryFile
public class LazyStringMemoryFileImpl
extends LazyReadOnlyMemoryFileImpl
implements StringMemoryFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Converts the contents of the file to which this object is bound to a String using the default character encoding.Converts the contents of the file to which this object is bound to a String using the specified character encoding.Methods inherited from class com.mchange.io.impl.LazyReadOnlyMemoryFileImpl
getBytes, getFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mchange.io.ReadOnlyMemoryFile
getBytes, getFile
-
Constructor Details
-
LazyStringMemoryFileImpl
-
LazyStringMemoryFileImpl
-
-
Method Details
-
asString
Description copied from interface:StringMemoryFileConverts the contents of the file to which this object is bound to a String using the specified character encoding.- Specified by:
asStringin interfaceStringMemoryFile- Throws:
IOExceptionUnsupportedEncodingException
-
asString
Description copied from interface:StringMemoryFileConverts the contents of the file to which this object is bound to a String using the default character encoding.- Specified by:
asStringin interfaceStringMemoryFile- Throws:
IOException
-