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 TypeMethodDescriptionvoidonFileLocalizationFailure(FileLocator locator, Throwable throwable) Dispatched whenever the file input stream is invalid, hence the specified file cannot be localized for the extraction process.voidonFileLocalizationSuccess(FileLocator locator) Dispatched whenever the file input stream is valid, hence the specified file can be localized.
-
Method Details
-
onFileLocalizationSuccess
Dispatched whenever the file input stream is valid, hence the specified file can be localized.- Parameters:
locator- the associated file locator object.
-
onFileLocalizationFailure
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.
-