|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.storage.sql.Binary
public class Binary
A binary object that can be read, and has a length and a digest.
Constructor Summary | |
---|---|
Binary(java.io.File file,
java.lang.String digest)
|
|
Binary(java.io.File file,
java.lang.String digest,
java.lang.String repoName)
|
Method Summary | |
---|---|
java.lang.String |
getDigest()
Gets a string representation of the hex digest of the binary. |
long |
getLength()
Gets the length of the binary. |
java.io.InputStream |
getStream()
Gets an input stream for the binary. |
StreamSource |
getStreamSource()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Binary(java.io.File file, java.lang.String digest)
public Binary(java.io.File file, java.lang.String digest, java.lang.String repoName)
Method Detail |
---|
public long getLength()
public java.lang.String getDigest()
[0-9a-f]
public java.io.InputStream getStream() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public StreamSource getStreamSource()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |