public class Binary extends Object implements Serializable
Constructor and Description |
---|
Binary(File file,
String digest,
String blobProviderId) |
Modifier and Type | Method and Description |
---|---|
String |
getBlobProviderId()
Gets the blob provider which created this blob.
|
String |
getDigest()
Gets a string representation of the hex digest of the binary.
|
File |
getFile() |
long |
getLength()
Gets the length of the binary.
|
InputStream |
getStream()
Gets an input stream for the binary.
|
String |
toString() |
public long getLength()
public String getDigest()
[0-9a-f]
public String getBlobProviderId()
This is usually the repository name.
public InputStream getStream() throws IOException
IOException
public File getFile()
Copyright © 2015 Nuxeo SA. All rights reserved.