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:
- java.io.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultBinaryManager.ScrambledBinary
public DefaultBinaryManager.ScrambledBinary(java.io.File file,
java.lang.String digest,
java.lang.String repoName,
BinaryScrambler scrambler)
getStream
public java.io.InputStream getStream()
throws java.io.IOException
- Description copied from class:
Binary
- Gets an input stream for the binary.
- Overrides:
getStream
in class Binary
- Returns:
- the input stream
- Throws:
java.io.IOException
getStreamSource
public StreamSource getStreamSource()
- Overrides:
getStreamSource
in class Binary
Copyright © 2010 Nuxeo SAS. All Rights Reserved.