|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mchange.io.impl.LazyReadOnlyMemoryFileImpl
com.mchange.io.impl.LazyStringMemoryFileImpl
public class LazyStringMemoryFileImpl
| Constructor Summary | |
|---|---|
LazyStringMemoryFileImpl(java.io.File file)
|
|
LazyStringMemoryFileImpl(java.lang.String fname)
|
|
| 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. |
| Methods inherited from class com.mchange.io.impl.LazyReadOnlyMemoryFileImpl |
|---|
getBytes, getFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.mchange.io.ReadOnlyMemoryFile |
|---|
getBytes, getFile |
| Constructor Detail |
|---|
public LazyStringMemoryFileImpl(java.io.File file)
public LazyStringMemoryFileImpl(java.lang.String fname)
| Method Detail |
|---|
public java.lang.String asString(java.lang.String enc)
throws java.io.IOException,
java.io.UnsupportedEncodingException
StringMemoryFile
asString in interface StringMemoryFilejava.io.IOException
java.io.UnsupportedEncodingException
public java.lang.String asString()
throws java.io.IOException
StringMemoryFile
asString in interface StringMemoryFilejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||