Interface InputStreamProvider
- All Superinterfaces:
AutoCloseable,StreamProvider
- All Known Subinterfaces:
ZipStreamProvider
- All Known Implementing Classes:
FileLocator,LibraryLocator
Defines an interface for an input stream provider that locates a filesystem and provides
an
InputStream object.-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the input stream object associated with this filesystem entry.voidsetFileLocalizingListener(FileLocalizingListener fileLocalizingListener) Sets the file localizing listener interface object to bind the user application to the file localizing lifecycle.Methods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface electrostatic4j.snaploader.filesystem.StreamProvider
getHashKey, initialize
-
Method Details
-
getFileInputStream
InputStream getFileInputStream()Retrieves the input stream object associated with this filesystem entry.- Returns:
- an input stream object for this located filesystem
-
setFileLocalizingListener
Sets the file localizing listener interface object to bind the user application to the file localizing lifecycle.- Parameters:
fileLocalizingListener- an implementation object of the file localizing listener
-