Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql
Class DefaultBinaryManager.ScrambledBinary

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.Binary
      extended by 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

Constructor Summary
DefaultBinaryManager.ScrambledBinary(File file, String digest, String repoName, BinaryScrambler scrambler)
           
 
Method Summary
 InputStream getStream()
          Gets an input stream for the binary.
 StreamSource getStreamSource()
           
 
Methods inherited from class org.nuxeo.ecm.core.storage.sql.Binary
getDigest, getLength, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultBinaryManager.ScrambledBinary

public DefaultBinaryManager.ScrambledBinary(File file,
                                            String digest,
                                            String repoName,
                                            BinaryScrambler scrambler)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.