|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BinaryManager
A binary manager stores binaries according to their digest.
Method Summary | |
---|---|
Binary |
getBinary(java.io.InputStream in)
Saves the given input stream into a Binary . |
Binary |
getBinary(java.lang.String digest)
Returns a Binary corresponding to the given digest. |
void |
initialize(RepositoryDescriptor repositoryDescriptor)
Initializer. |
Method Detail |
---|
void initialize(RepositoryDescriptor repositoryDescriptor) throws java.io.IOException
java.io.IOException
Binary getBinary(java.io.InputStream in) throws java.io.IOException
Binary
.
Returns a Binary
representing the stream. The Binary
includes a digest that is a sufficient representation to persist it.
in
- the input stream
java.io.IOException
Binary getBinary(java.lang.String digest)
Binary
corresponding to the given digest.
A null
is returned if the digest could not be found.
digest
- the digest, or null
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |