Interface InputStreamProvider

All Superinterfaces:
AutoCloseable, StreamProvider
All Known Subinterfaces:
ZipStreamProvider
All Known Implementing Classes:
FileLocator, LibraryLocator

public interface InputStreamProvider extends StreamProvider
Defines an interface for an input stream provider that locates a filesystem and provides an InputStream object.
  • 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

      void setFileLocalizingListener(FileLocalizingListener fileLocalizingListener)
      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