|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.loom.persistence.file.DatabaseFileContents
org.loom.persistence.file.ByteArrayPersistentFileContents
public class ByteArrayPersistentFileContents
Extends PersistentFile with its data as a byte[]
Constructor Summary | |
---|---|
ByteArrayPersistentFileContents()
|
Method Summary | |
---|---|
byte[] |
getContentsAsBytes()
|
java.io.InputStream |
getContentsAsStream()
|
java.lang.Long |
getFileSize()
|
void |
setContentsAsBytes(byte[] contents)
|
Methods inherited from class org.loom.persistence.file.DatabaseFileContents |
---|
getFile, getId, setFile, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ByteArrayPersistentFileContents()
Method Detail |
---|
public byte[] getContentsAsBytes()
public void setContentsAsBytes(byte[] contents)
public java.io.InputStream getContentsAsStream()
public java.lang.Long getFileSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |