Interface FileLocalizingListener


public interface FileLocalizingListener
Provides executable functions by the file locator API to enable the binding of user applications with the file locator interface.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Dispatched whenever the file input stream is invalid, hence the specified file cannot be localized for the extraction process.
    void
    Dispatched whenever the file input stream is valid, hence the specified file can be localized.
  • Method Details

    • onFileLocalizationSuccess

      void onFileLocalizationSuccess(FileLocator locator)
      Dispatched whenever the file input stream is valid, hence the specified file can be localized.
      Parameters:
      locator - the associated file locator object.
    • onFileLocalizationFailure

      void onFileLocalizationFailure(FileLocator locator, Throwable throwable)
      Dispatched whenever the file input stream is invalid, hence the specified file cannot be localized for the extraction process.
      Parameters:
      locator - the associated file locator object.
      throwable - the throwable object, typically indicating a failure to locate the file inside the compression.