public class Binary extends Object implements Serializable
Constructor and Description |
---|
Binary(File file,
String digest) |
Binary(File file,
String digest,
String repoName) |
Modifier and Type | Method and Description |
---|---|
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() |
public long getLength()
public String getDigest()
[0-9a-f]
public InputStream getStream() throws IOException
IOException
public StreamSource getStreamSource()
Copyright © 2011 Nuxeo SA. All Rights Reserved.