org.nuxeo.ecm.core.storage.sql
Class DefaultBinaryManager.ScrambledBinary
java.lang.Object
org.nuxeo.ecm.core.storage.sql.Binary
org.nuxeo.ecm.core.storage.sql.DefaultBinaryManager.ScrambledBinary
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- DefaultBinaryManager
public static class DefaultBinaryManager.ScrambledBinary
- extends Binary
A Binary
that is unscrambled on read using a
BinaryScrambler
.
- See Also:
- Serialized Form
DefaultBinaryManager.ScrambledBinary
public DefaultBinaryManager.ScrambledBinary(File file,
String digest,
String repoName,
BinaryScrambler scrambler)
getStream
public InputStream getStream()
throws IOException
- Description copied from class:
Binary
- Gets an input stream for the binary.
- Overrides:
getStream
in class Binary
- Returns:
- the input stream
- Throws:
IOException
getStreamSource
public StreamSource getStreamSource()
- Overrides:
getStreamSource
in class Binary
Copyright © 2011 Nuxeo SAS. All Rights Reserved.