Package org.gcube.contentmanagement.baselayer.streamutils

Interface Summary
CountExceedsStream This class defines an FinishingActionStream, where in addition, also an Action is triggered everytime the count of read or written or skipped bytes exceeds a defined value.
FinishingAction An action that should be performed, when stream handling has been finished.
FinishingActionStream Defines a common interface for streams, that are able to perform an action when the end of the stream has been reached.
 

Class Summary
CountExceedsActionInputStream This class defines an FinishingActionStreamInputStream, where in addition, also an Action is triggered everytime the count of read or skipped bytes exceeds a defined value.
CountExceedsActionOutputStream This class defines an FinishingActionStreamOutputStream, where in addition, also an Action is triggered everytime the count of written bytes exceeds a defined value.
DeleteContentAction This action deletes some defined content using the given content manager.
FinishingActionInputStream This class provites a generic wrapper for InputStreams, which are decorated with some action that should be performed whenever the end of the stream has been reached.
FinishingActionOutputStream This class provites a generic wrapper for OutputStreams, which are decorated with some action that should be performed when the end of the stream has been reached, in other words, the stream is closed.