| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final Map | |
| private CompressionMode | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public CompressionMode | |
| public static Map | Returns: a list of the compression algorithms supported natively.Returns a list of the compression algorithms supported natively. |
| public String | Returns: anInputStream that knows how to inflate data.Gets this algorithm's |
| public static String | Returns: ifname is an already normalized identifier or an unknown alias then the returned value is the same as the input, otherwise the
normalized algorithm identifier is returned.the non-normalized compression algorithm identifier. name)Returns the normalized compression algorithm identifier. |
| public String | Returns: anOutputStream that knows how to deflate data.Gets this algorithm's |
| algorithmIdentifier | back to summary |
|---|---|
| private String algorithmIdentifier | |
| ALIASES | back to summary |
|---|---|
| private static final Map<String, String> ALIASES | |
| compressionMode | back to summary |
|---|---|
| private CompressionMode compressionMode | |
| inputStreamClassFqn | back to summary |
|---|---|
| private String inputStreamClassFqn | |
| outputStreamClassFqn | back to summary |
|---|---|
| private String outputStreamClassFqn | |
| CompressionAlgorithm | back to summary |
|---|---|
| public CompressionAlgorithm(String name, String inputStreamClassFqn, String outputStreamClassFqn) | |
| getAlgorithmIdentifier | back to summary |
|---|---|
| public String getAlgorithmIdentifier() Gets this algorithm's identifier.
| |
| getCompressionMode | back to summary |
|---|---|
| public CompressionMode getCompressionMode() Gets this algorithm's compression mode.
| |
| getDefaultInstances | back to summary |
|---|---|
| public static Map Returns a list of the compression algorithms supported natively. Additional algorithms can be registered by user.
| |
| getInputStreamClassName | back to summary |
|---|---|
| public String getInputStreamClassName() Gets this algorithm's
| |
| getNormalizedAlgorithmName | back to summary |
|---|---|
| public static String getNormalizedAlgorithmName(String name) Returns the normalized compression algorithm identifier. A normalized identifier is composed by a compression algorithm name followed by '_' and then the the compression operation mode ("stream" vs "message"). | |
| getOutputStreamClassName | back to summary |
|---|---|
| public String getOutputStreamClassName() Gets this algorithm's
| |