|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mchange.io.impl.LazyReadOnlyMemoryFileImpl
public class LazyReadOnlyMemoryFileImpl
| Constructor Summary | |
|---|---|
LazyReadOnlyMemoryFileImpl(java.io.File file)
|
|
LazyReadOnlyMemoryFileImpl(java.lang.String fname)
|
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
returns the contents of the file as a byte[] |
java.io.File |
getFile()
returns the File object this MemoryFile is bound to |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LazyReadOnlyMemoryFileImpl(java.io.File file)
public LazyReadOnlyMemoryFileImpl(java.lang.String fname)
| Method Detail |
|---|
public java.io.File getFile()
ReadOnlyMemoryFile
getFile in interface ReadOnlyMemoryFile
public byte[] getBytes()
throws java.io.IOException
ReadOnlyMemoryFile
getBytes in interface ReadOnlyMemoryFilejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||