|
TrueZIP Driver ZIP.RAES (TZP) 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RaesParametersProvider
These RaesParameters delegate to some other instance of a sibling
interface or itself in order to locate the parameters required to read
or write a certain RAES type.
This may be implemented by clients to build RAES parameters of a certain
type on demand rather than providing them upfront.
There are two usages of this interface:
RaesReadOnlyFile.getInstance(java.io.File, de.schlichtherle.truezip.crypto.raes.RaesParameters) uses it to locate RAES parameters
which match the RAES type found in the file unless the provided
parameters already match the required type.
RaesOutputStream.getInstance(java.io.OutputStream, de.schlichtherle.truezip.crypto.raes.RaesParameters) uses it to allow the client
explict control about the type of RAES file created.
| Method Summary | ||
|---|---|---|
|
get(Class<P> type)
Requests a RaesParameters instance of the given
type. |
|
| Method Detail |
|---|
@CheckForNull
<P extends RaesParameters> P get(@NonNull
Class<P> type)
RaesParameters instance of the given
type.
type - the RaesParameters interface class which's
implementation is searched.
RaesParameters or null
if no RAES parameters are available.
|
TrueZIP Driver ZIP.RAES (TZP) 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||