Package org.tukaani.xz
Class ARM64Options
- java.lang.Object
-
- org.tukaani.xz.FilterOptions
-
- org.tukaani.xz.ARM64Options
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class ARM64Options extends FilterOptions
BCJ filter for ARM64 (AArch64) instructions.- Since:
- 1.10
-
-
Constructor Summary
Constructors Constructor Description ARM64Options()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()intgetDecoderMemoryUsage()Gets how much memory the decoder will need to decompress the data that was encoded with these options.intgetEncoderMemoryUsage()Gets how much memory the encoder will need with these options.java.io.InputStreamgetInputStream(java.io.InputStream in, ArrayCache arrayCache)Gets a raw (no XZ headers) decoder input stream using these options and the given ArrayCache.FinishableOutputStreamgetOutputStream(FinishableOutputStream out, ArrayCache arrayCache)Gets a raw (no XZ headers) encoder output stream using these options and the given ArrayCache.intgetStartOffset()Gets the start offset.voidsetStartOffset(int startOffset)Sets the start offset for the address conversions.-
Methods inherited from class org.tukaani.xz.FilterOptions
getDecoderMemoryUsage, getEncoderMemoryUsage, getInputStream, getOutputStream
-
-
-
-
Method Detail
-
getOutputStream
public FinishableOutputStream getOutputStream(FinishableOutputStream out, ArrayCache arrayCache)
Description copied from class:FilterOptionsGets a raw (no XZ headers) encoder output stream using these options and the given ArrayCache. Raw streams are an advanced feature. In most cases you want to store the compressed data in the .xz container format instead of using a raw stream. To use this filter in a .xz file, pass this object to XZOutputStream.- Specified by:
getOutputStreamin classFilterOptions
-
getInputStream
public java.io.InputStream getInputStream(java.io.InputStream in, ArrayCache arrayCache)Description copied from class:FilterOptionsGets a raw (no XZ headers) decoder input stream using these options and the given ArrayCache.- Specified by:
getInputStreamin classFilterOptions
-
setStartOffset
public void setStartOffset(int startOffset) throws UnsupportedOptionsExceptionSets the start offset for the address conversions. Normally this is useless so you shouldn't use this function. The default value is0.- Throws:
UnsupportedOptionsException
-
getStartOffset
public int getStartOffset()
Gets the start offset.
-
getEncoderMemoryUsage
public int getEncoderMemoryUsage()
Description copied from class:FilterOptionsGets how much memory the encoder will need with these options.- Specified by:
getEncoderMemoryUsagein classFilterOptions
-
getDecoderMemoryUsage
public int getDecoderMemoryUsage()
Description copied from class:FilterOptionsGets how much memory the decoder will need to decompress the data that was encoded with these options.- Specified by:
getDecoderMemoryUsagein classFilterOptions
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
-