Uses of Class
org.gcube.contentmanagement.baselayer.BaseLayerStream

Packages that use BaseLayerStream
org.gcube.contentmanagement.baselayer   
org.gcube.contentmanagement.baselayer.filesystemImpl   
org.gcube.contentmanagement.baselayer.inMessageImpl   
org.gcube.contentmanagement.baselayer.networkFileTransfer   
org.gcube.contentmanagement.baselayer.networkFileTransfer.gfal   
org.gcube.contentmanagement.baselayer.rdbmsImpl   
 

Uses of BaseLayerStream in org.gcube.contentmanagement.baselayer
 

Methods in org.gcube.contentmanagement.baselayer that return BaseLayerStream
 BaseLayerStream RawFileContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
abstract  BaseLayerStream RawContentLocationSelectionStrategy.retrieveFromPreferredLocation(java.util.List<RawContentLocation> locations, BasicStorageHints storageHints)
          Retrieves content from a location based on the strategies preferences and the given hints.
 BaseLayerStream BaseLayerStream.toFixedLengthStream()
          Generic solution to determine stream length.
 

Methods in org.gcube.contentmanagement.baselayer with parameters of type BaseLayerStream
 RawContentLocation RawContentLocationSelectionStrategy.saveAtPreferredLocation(java.lang.String objectID, BaseLayerStream bls, BasicStorageHints storageHints)
          Saves content at a location, which is selected based on the strategies preferences and the given hints.
 RawContentLocation RawFileContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 

Uses of BaseLayerStream in org.gcube.contentmanagement.baselayer.filesystemImpl
 

Methods in org.gcube.contentmanagement.baselayer.filesystemImpl that return BaseLayerStream
 BaseLayerStream LocalFilesystemHandler.getBinaryContent(java.io.File file, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream LocalFilesystemStorage.getBinaryContent(java.io.File file, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream LocalFilesystemHandler.getBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream LocalFilesystemStorage.getBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 

Methods in org.gcube.contentmanagement.baselayer.filesystemImpl with parameters of type BaseLayerStream
 RawContentLocation LocalFilesystemHandler.saveBinaryContent(java.io.File outputFile, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation LocalFilesystemStorage.saveBinaryContent(java.io.File outputFile, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation LocalFilesystemHandler.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation LocalFilesystemStorage.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 

Uses of BaseLayerStream in org.gcube.contentmanagement.baselayer.inMessageImpl
 

Subclasses of BaseLayerStream in org.gcube.contentmanagement.baselayer.inMessageImpl
 class InMemoryContentStream
          Convenience implementation of a stream that wraps a byte array in main memory.
 

Methods in org.gcube.contentmanagement.baselayer.inMessageImpl that return BaseLayerStream
 BaseLayerStream InMemoryContentManager.getBinaryContent(byte[] bytes, BasicStorageHints hints)
          Wraps the content for reading as an input stream to the caller.
 BaseLayerStream InMemoryContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller.
 

Methods in org.gcube.contentmanagement.baselayer.inMessageImpl with parameters of type BaseLayerStream
static long InMemoryContentStream.copyBytes(BaseLayerStream binaryFileContent, java.io.ByteArrayOutputStream baos)
          Copies all bytes of a stream to the in memory stream, thus caches the content
 RawContentLocation InMemoryContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 

Constructors in org.gcube.contentmanagement.baselayer.inMessageImpl with parameters of type BaseLayerStream
InMemoryContentStream(BaseLayerStream binaryFileContent, java.io.ByteArrayOutputStream baosToUse)
          Caches content of an existing stream in memory by copying all bytes
 

Uses of BaseLayerStream in org.gcube.contentmanagement.baselayer.networkFileTransfer
 

Methods in org.gcube.contentmanagement.baselayer.networkFileTransfer that return BaseLayerStream
 BaseLayerStream GridFTPContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream FTPPseudoContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream CoGFTPContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream CommonsHTTPClientPseudeContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream HTTPPseudoContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 

Methods in org.gcube.contentmanagement.baselayer.networkFileTransfer with parameters of type BaseLayerStream
 RawContentLocation GridFTPContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation FTPPseudoContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation CoGFTPContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation CommonsHTTPClientPseudeContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation HTTPPseudoContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 

Uses of BaseLayerStream in org.gcube.contentmanagement.baselayer.networkFileTransfer.gfal
 

Methods in org.gcube.contentmanagement.baselayer.networkFileTransfer.gfal that return BaseLayerStream
 BaseLayerStream GFALRawContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
           
 

Methods in org.gcube.contentmanagement.baselayer.networkFileTransfer.gfal with parameters of type BaseLayerStream
 RawContentLocation GFALRawContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
           
 

Uses of BaseLayerStream in org.gcube.contentmanagement.baselayer.rdbmsImpl
 

Subclasses of BaseLayerStream in org.gcube.contentmanagement.baselayer.rdbmsImpl
 class BlobStream
          This class implements a wrapper to access Blob fields as input streams with known size.
 class SubstringStream
          Stream for reading BLOBs from a database connection in several chunks using the SQL SUBSTRING method.
 

Methods in org.gcube.contentmanagement.baselayer.rdbmsImpl that return BaseLayerStream
 BaseLayerStream GenericJDBCDatabase.getBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
WARNING: This method will leave the database connection open, to give direct access to te BLOB field.
 

Methods in org.gcube.contentmanagement.baselayer.rdbmsImpl with parameters of type BaseLayerStream
 RawContentLocation GenericJDBCDatabase.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.