Package net.sf.sevenzipjbinding
Interface ICryptoGetTextPassword
public interface ICryptoGetTextPassword
Interface used to provide a password to the archive engine (for opening or extracting encrypted archives).
- Since:
- 4.65-1
- Author:
- Boris Brodski
-
Method Summary
Modifier and TypeMethodDescriptionReturns the password to be used by the archive engine.
-
Method Details
-
cryptoGetTextPassword
Returns the password to be used by the archive engine.- Returns:
- the password
- Throws:
SevenZipException- in error case. If this method ends with an exception, the current operation will be reported to 7-Zip as failed. There is no guarantee that no further callback methods will be called. The first and last thrown exceptions will be saved and thrown later on from the originally called method such asIInArchive.extract()orSevenZip.openInArchive(). Up to four exceptions depending on the situation can be saved for further analysis. SeeSevenZipExceptionandSevenZipException.printStackTraceExtended()for details.
-