Interface OutputStreamProvider
- All Superinterfaces:
AutoCloseable,StreamProvider
- All Known Implementing Classes:
ConcurrentFileExtractor,FileExtractor,LibraryExtractor
Defines an interface for an output stream provider to locate and extract a filesystem from a zip compression;
the output stream provider object is associated with an input stream provider object that locates this filesystem.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the input stream provider object (the filesystem locator object).Retrieves the output stream object associated with this provider.Methods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface electrostatic4j.snaploader.filesystem.StreamProvider
getHashKey, initialize
-
Method Details
-
getFileLocator
InputStreamProvider getFileLocator()Retrieves the input stream provider object (the filesystem locator object).- Returns:
- an input stream provider object that is the filesystem locator object
-
getFileOutputStream
OutputStream getFileOutputStream()Retrieves the output stream object associated with this provider.- Returns:
- an output stream provider object to extract the filesystem
-