|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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(File file,
String digest)
|
|
Binary(File file,
String digest,
String repoName)
|
Method Summary | |
---|---|
String |
getDigest()
Gets a string representation of the hex digest of the binary. |
long |
getLength()
Gets the length of the binary. |
InputStream |
getStream()
Gets an input stream for the binary. |
StreamSource |
getStreamSource()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Binary(File file, String digest)
public Binary(File file, String digest, String repoName)
Method Detail |
---|
public long getLength()
public String getDigest()
[0-9a-f]
public InputStream getStream() throws IOException
IOException
public String toString()
toString
in class Object
public StreamSource getStreamSource()
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |