A B C D E F G H I L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- attachDictionary(PreparedDictionary) - Method in class com.aayushatharva.brotli4j.encoder.BrotliEncoderChannel
- attachDictionary(PreparedDictionary) - Method in class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
- attachDictionary(PreparedDictionary) - Method in class com.aayushatharva.brotli4j.encoder.Encoder
- attachDictionary(ByteBuffer) - Method in class com.aayushatharva.brotli4j.decoder.BrotliDecoderChannel
- attachDictionary(ByteBuffer) - Method in class com.aayushatharva.brotli4j.decoder.BrotliInputStream
-
Creates a BrotliInputStream
- attachDictionary(ByteBuffer) - Method in class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
- attachDictionary(ByteBuffer) - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
- available() - Method in class com.aayushatharva.brotli4j.decoder.BrotliInputStream
B
- Brotli4jLoader - Class in com.aayushatharva.brotli4j
-
Loads Brotli Native Library
- Brotli4jLoader() - Constructor for class com.aayushatharva.brotli4j.Brotli4jLoader
- BrotliCommon - Class in com.aayushatharva.brotli4j.common
-
JNI wrapper for brotli common.
- BrotliCommon() - Constructor for class com.aayushatharva.brotli4j.common.BrotliCommon
- BrotliDecoderChannel - Class in com.aayushatharva.brotli4j.decoder
-
ReadableByteChannel that wraps native brotli decoder.
- BrotliDecoderChannel(ReadableByteChannel) - Constructor for class com.aayushatharva.brotli4j.decoder.BrotliDecoderChannel
-
Creates a BrotliDecoderChannel.
- BrotliDecoderChannel(ReadableByteChannel, int) - Constructor for class com.aayushatharva.brotli4j.decoder.BrotliDecoderChannel
-
Creates a BrotliDecoderChannel.
- BrotliDecoderChannel(ReadableByteChannel, int, int) - Constructor for class com.aayushatharva.brotli4j.decoder.BrotliDecoderChannel
-
Creates a BrotliDecoderChannel with a per-pull output cap.
- BrotliEncoderChannel - Class in com.aayushatharva.brotli4j.encoder
-
WritableByteChannel that wraps native brotli encoder.
- BrotliEncoderChannel(WritableByteChannel) - Constructor for class com.aayushatharva.brotli4j.encoder.BrotliEncoderChannel
-
Creates a BrotliEncoderChannel
- BrotliEncoderChannel(WritableByteChannel, Encoder.Parameters) - Constructor for class com.aayushatharva.brotli4j.encoder.BrotliEncoderChannel
-
Creates a BrotliEncoderChannel
- BrotliEncoderChannel(WritableByteChannel, Encoder.Parameters, int) - Constructor for class com.aayushatharva.brotli4j.encoder.BrotliEncoderChannel
-
Creates a BrotliEncoderChannel
- BrotliInputStream - Class in com.aayushatharva.brotli4j.decoder
-
InputStream that wraps native brotli decoder.
- BrotliInputStream(InputStream) - Constructor for class com.aayushatharva.brotli4j.decoder.BrotliInputStream
-
Creates a BrotliInputStream
- BrotliInputStream(InputStream, int) - Constructor for class com.aayushatharva.brotli4j.decoder.BrotliInputStream
-
Creates a BrotliInputStream
- BrotliInputStream(InputStream, int, int) - Constructor for class com.aayushatharva.brotli4j.decoder.BrotliInputStream
-
Creates a BrotliInputStream with a per-pull output cap.
- BrotliNativeProvider - Interface in com.aayushatharva.brotli4j
-
Deprecated.This interface is NO-OP now. It is superseded by
BrotliNativeProvider. However, we cannot remove this interface because it is part of the public API.Also, this is an Internal API and should not be used by external users.
- BrotliOutputStream - Class in com.aayushatharva.brotli4j.encoder
-
Output stream that wraps native brotli encoder.
- BrotliOutputStream(OutputStream) - Constructor for class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
-
Creates a BrotliOutputStream.
- BrotliOutputStream(OutputStream, Encoder.Parameters) - Constructor for class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
-
Creates a BrotliOutputStream.
- BrotliOutputStream(OutputStream, Encoder.Parameters, int) - Constructor for class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
-
Creates a BrotliOutputStream.
C
- checkDictionaryDataMd5(byte[]) - Static method in class com.aayushatharva.brotli4j.common.BrotliCommon
-
Checks if the given checksum matches MD5 checksum of the RFC dictionary.
- checkDictionaryDataSha1(byte[]) - Static method in class com.aayushatharva.brotli4j.common.BrotliCommon
-
Checks if the given checksum matches SHA-1 checksum of the RFC dictionary.
- checkDictionaryDataSha256(byte[]) - Static method in class com.aayushatharva.brotli4j.common.BrotliCommon
-
Checks if the given checksum matches SHA-256 checksum of the RFC dictionary.
- close() - Method in class com.aayushatharva.brotli4j.decoder.BrotliDecoderChannel
- close() - Method in class com.aayushatharva.brotli4j.decoder.BrotliInputStream
- close() - Method in class com.aayushatharva.brotli4j.decoder.Decoder
- close() - Method in class com.aayushatharva.brotli4j.encoder.BrotliEncoderChannel
- close() - Method in class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
- close() - Method in class com.aayushatharva.brotli4j.encoder.Encoder
- com.aayushatharva.brotli4j - package com.aayushatharva.brotli4j
- com.aayushatharva.brotli4j.common - package com.aayushatharva.brotli4j.common
- com.aayushatharva.brotli4j.common.annotations - package com.aayushatharva.brotli4j.common.annotations
- com.aayushatharva.brotli4j.decoder - package com.aayushatharva.brotli4j.decoder
- com.aayushatharva.brotli4j.encoder - package com.aayushatharva.brotli4j.encoder
- compress(byte[]) - Static method in class com.aayushatharva.brotli4j.encoder.Encoder
- compress(byte[], int, int) - Static method in class com.aayushatharva.brotli4j.encoder.Encoder
- compress(byte[], int, int, Encoder.Parameters) - Static method in class com.aayushatharva.brotli4j.encoder.Encoder
- compress(byte[], Encoder.Parameters) - Static method in class com.aayushatharva.brotli4j.encoder.Encoder
- compress(ByteBuf, boolean) - Static method in class com.aayushatharva.brotli4j.encoder.Encoders
-
Encodes the given
ByteBuf - compress(ByteBuf, ByteBuf) - Static method in class com.aayushatharva.brotli4j.encoder.Encoders
-
Encodes the given
ByteBuf - compress(ByteBuf, ByteBuf, Encoder.Parameters) - Static method in class com.aayushatharva.brotli4j.encoder.Encoders
-
Encodes the given
ByteBuf - compress(ByteBuffer, ByteBuffer) - Static method in class com.aayushatharva.brotli4j.encoder.Encoders
-
Encodes the given
ByteBuffer - compress(ByteBuffer, ByteBuffer, Encoder.Parameters) - Static method in class com.aayushatharva.brotli4j.encoder.Encoders
-
Encodes the given
ByteBuffer - context - Variable in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
- create(int) - Static method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
- create(int, int) - Static method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
- create(int, int, Encoder.Mode) - Static method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
D
- Decoder - Class in com.aayushatharva.brotli4j.decoder
-
Base class for InputStream / Channel implementations.
- Decoder(ReadableByteChannel, int) - Constructor for class com.aayushatharva.brotli4j.decoder.Decoder
-
Creates a Decoder wrapper.
- Decoder(ReadableByteChannel, int, int) - Constructor for class com.aayushatharva.brotli4j.decoder.Decoder
-
Creates a Decoder wrapper with a per-pull output cap.
- DecoderJNI - Class in com.aayushatharva.brotli4j.decoder
-
JNI wrapper for brotli decoder.
- DecoderJNI() - Constructor for class com.aayushatharva.brotli4j.decoder.DecoderJNI
- DecoderJNI.Status - Enum in com.aayushatharva.brotli4j.decoder
- DecoderJNI.Wrapper - Class in com.aayushatharva.brotli4j.decoder
- Decoders - Class in com.aayushatharva.brotli4j.decoder
-
Multiple decoding methods using Netty Buffer.
- Decoders() - Constructor for class com.aayushatharva.brotli4j.decoder.Decoders
- decompress(byte[]) - Static method in class com.aayushatharva.brotli4j.decoder.Decoder
-
Decodes the given data buffer.
- decompress(byte[]) - Static method in class com.aayushatharva.brotli4j.decoder.DirectDecompress
-
Initiate direct decompression of data
- decompress(byte[], int) - Static method in class com.aayushatharva.brotli4j.decoder.Decoder
-
Decodes the given data buffer, failing if decompressed output would exceed
maxOutputSizebytes. - decompress(byte[], int) - Static method in class com.aayushatharva.brotli4j.decoder.DirectDecompress
-
Initiate direct decompression of data, failing if the decompressed output would exceed
maxOutputSizebytes. - decompress(byte[], int, int) - Static method in class com.aayushatharva.brotli4j.decoder.Decoder
-
Decodes the given data buffer starting at offset till length.
- decompress(byte[], int, int, int) - Static method in class com.aayushatharva.brotli4j.decoder.Decoder
-
Decodes the given data buffer starting at offset till length, failing if decompressed output would exceed
maxOutputSizebytes. - decompress(ByteBuf, ByteBuf) - Static method in class com.aayushatharva.brotli4j.decoder.Decoders
-
Decodes the given data buffer.
- decompress(ByteBuf, ByteBuf, int) - Static method in class com.aayushatharva.brotli4j.decoder.Decoders
-
Decodes the given data buffer, failing if decompressed output would exceed
maxOutputSizebytes. - decompress(ByteBuffer, ByteBuffer) - Static method in class com.aayushatharva.brotli4j.decoder.Decoders
-
Decodes the given data buffer.
- DEFAULT - Static variable in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
- destroy() - Method in class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
-
Releases native resources.
- destroy() - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
-
Releases native resources.
- DirectDecompress - Class in com.aayushatharva.brotli4j.decoder
-
Directly decompresses data using
Decoder.decompress(byte[]) - DONE - com.aayushatharva.brotli4j.decoder.DecoderJNI.Status
E
- enableEagerOutput() - Method in class com.aayushatharva.brotli4j.decoder.BrotliInputStream
- enableEagerOutput() - Method in class com.aayushatharva.brotli4j.decoder.Decoder
- encode(EncoderJNI.Operation) - Method in class com.aayushatharva.brotli4j.encoder.Encoder
- Encoder - Class in com.aayushatharva.brotli4j.encoder
-
Base class for OutputStream / Channel implementations.
- Encoder(WritableByteChannel, Encoder.Parameters, int) - Constructor for class com.aayushatharva.brotli4j.encoder.Encoder
-
Creates a Encoder wrapper.
- Encoder.Mode - Enum in com.aayushatharva.brotli4j.encoder
-
... See encode.h, typedef enum BrotliEncoderMode
- Encoder.Parameters - Class in com.aayushatharva.brotli4j.encoder
-
Brotli encoder settings.
- EncoderJNI - Class in com.aayushatharva.brotli4j.encoder
-
JNI wrapper for brotli encoder.
- EncoderJNI() - Constructor for class com.aayushatharva.brotli4j.encoder.EncoderJNI
- EncoderJNI.Operation - Enum in com.aayushatharva.brotli4j.encoder
- EncoderJNI.Wrapper - Class in com.aayushatharva.brotli4j.encoder
- Encoders - Class in com.aayushatharva.brotli4j.encoder
-
Multiple encoding methods using Netty Buffer Make sure to add it as dependency before using this class
- Encoders() - Constructor for class com.aayushatharva.brotli4j.encoder.Encoders
- ensureAvailability() - Static method in class com.aayushatharva.brotli4j.Brotli4jLoader
-
Ensure Brotli native library is available.
- ERROR - com.aayushatharva.brotli4j.decoder.DecoderJNI.Status
F
- FINISH - com.aayushatharva.brotli4j.encoder.EncoderJNI.Operation
- flush() - Method in class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
- flush() - Method in class com.aayushatharva.brotli4j.encoder.Encoder
- FLUSH - com.aayushatharva.brotli4j.encoder.EncoderJNI.Operation
- FONT - com.aayushatharva.brotli4j.encoder.Encoder.Mode
-
Compression mode used in WOFF 2.0.
G
- generate(ByteBuffer) - Static method in class com.aayushatharva.brotli4j.encoder.PreparedDictionaryGenerator
- generate(ByteBuffer, int, int, int, int) - Static method in class com.aayushatharva.brotli4j.encoder.PreparedDictionaryGenerator
- GENERIC - com.aayushatharva.brotli4j.encoder.Encoder.Mode
-
Default compression mode.
- getData() - Method in interface com.aayushatharva.brotli4j.encoder.PreparedDictionary
- getDecompressedData() - Method in class com.aayushatharva.brotli4j.decoder.DirectDecompress
-
Get decompressed data.
- getDecompressedDataByteBuf() - Method in class com.aayushatharva.brotli4j.decoder.DirectDecompress
-
Get decompressed data.
- getInputBuffer() - Method in class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
- getInputBuffer() - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
- getResultStatus() - Method in class com.aayushatharva.brotli4j.decoder.DirectDecompress
-
Get the result of decompression.
- getStatus() - Method in class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
- getUnavailabilityCause() - Static method in class com.aayushatharva.brotli4j.Brotli4jLoader
H
- hasMoreOutput() - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
- hasOutput() - Method in class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
- hasRemainingInput() - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
I
- Internal - Annotation Type in com.aayushatharva.brotli4j.common.annotations
-
Class and methods annotated with
Internalare for internal use and should not be used by user directly as they can change and break anytime. - isAvailable() - Static method in class com.aayushatharva.brotli4j.Brotli4jLoader
- isFinished() - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
- isOpen() - Method in class com.aayushatharva.brotli4j.decoder.BrotliDecoderChannel
- isOpen() - Method in class com.aayushatharva.brotli4j.encoder.BrotliEncoderChannel
- isSuccess() - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
L
- lgwin() - Method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
- Local - Annotation Type in com.aayushatharva.brotli4j.common.annotations
-
Class and methods annotated with
Localare represents code which created locally and not in sync with Google Brotli upstream repository.
M
- makeNative(byte[]) - Static method in class com.aayushatharva.brotli4j.common.BrotliCommon
-
Copy bytes to a new direct ByteBuffer.
- maxCompressedSize(int) - Static method in class com.aayushatharva.brotli4j.common.Utils
-
Returns the maximum compressed size for the given input size.
- mode() - Method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
N
- NEEDS_MORE_INPUT - com.aayushatharva.brotli4j.decoder.DecoderJNI.Status
- NEEDS_MORE_OUTPUT - com.aayushatharva.brotli4j.decoder.DecoderJNI.Status
O
- of(int) - Static method in enum com.aayushatharva.brotli4j.encoder.Encoder.Mode
- OK - com.aayushatharva.brotli4j.decoder.DecoderJNI.Status
P
- Parameters() - Constructor for class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
- platformName() - Method in interface com.aayushatharva.brotli4j.BrotliNativeProvider
-
Deprecated.
- PreparedDictionary - Interface in com.aayushatharva.brotli4j.encoder
-
Prepared dictionary data provider.
- PreparedDictionaryGenerator - Class in com.aayushatharva.brotli4j.encoder
-
Java prepared (raw) dictionary producer.
- prepareDictionary(ByteBuffer, int) - Static method in class com.aayushatharva.brotli4j.encoder.Encoder
-
Prepares raw or serialized dictionary for being used by encoder.
- PROCESS - com.aayushatharva.brotli4j.encoder.EncoderJNI.Operation
- pull() - Method in class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
- pull() - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
- pull(int) - Method in class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
-
Pulls decompressed output, returning at most
maxBytesbytes. - push(int) - Method in class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
- push(EncoderJNI.Operation, int) - Method in class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
Q
- quality() - Method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
R
- read() - Method in class com.aayushatharva.brotli4j.decoder.BrotliInputStream
- read(byte[]) - Method in class com.aayushatharva.brotli4j.decoder.BrotliInputStream
- read(byte[], int, int) - Method in class com.aayushatharva.brotli4j.decoder.BrotliInputStream
- read(ByteBuffer) - Method in class com.aayushatharva.brotli4j.decoder.BrotliDecoderChannel
- RFC_DICTIONARY_SIZE - Static variable in class com.aayushatharva.brotli4j.common.BrotliCommon
S
- setDictionaryData(byte[]) - Static method in class com.aayushatharva.brotli4j.common.BrotliCommon
-
Copies data and sets it to be brotli dictionary.
- setDictionaryData(InputStream) - Static method in class com.aayushatharva.brotli4j.common.BrotliCommon
-
Reads data and sets it to be brotli dictionary.
- setDictionaryData(ByteBuffer) - Static method in class com.aayushatharva.brotli4j.common.BrotliCommon
-
Sets data to be brotli dictionary.
- setMode(Encoder.Mode) - Method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
- setQuality(int) - Method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
- setWindow(int) - Method in class com.aayushatharva.brotli4j.encoder.Encoder.Parameters
- skip(long) - Method in class com.aayushatharva.brotli4j.decoder.BrotliInputStream
T
- TEXT - com.aayushatharva.brotli4j.encoder.Encoder.Mode
-
Compression mode for UTF-8 formatted text input.
U
- Upstream - Annotation Type in com.aayushatharva.brotli4j.common.annotations
-
Class and methods annotated with
Upstreamare directly pulled from Google Brotli upstream repository without any change in function and parameters. - Utils - Class in com.aayushatharva.brotli4j.common
-
Utilities class for Brotli4j
V
- valueOf(String) - Static method in enum com.aayushatharva.brotli4j.decoder.DecoderJNI.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aayushatharva.brotli4j.encoder.Encoder.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.aayushatharva.brotli4j.encoder.EncoderJNI.Operation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.aayushatharva.brotli4j.decoder.DecoderJNI.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aayushatharva.brotli4j.encoder.Encoder.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.aayushatharva.brotli4j.encoder.EncoderJNI.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- Wrapper(int) - Constructor for class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
- Wrapper(int, int) - Constructor for class com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
-
Creates a Wrapper that caps every
DecoderJNI.Wrapper.pull()to at mostmaxOutputChunkSizebytes. - Wrapper(int, int, int, Encoder.Mode) - Constructor for class com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
- write(byte[]) - Method in class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
- write(byte[], int, int) - Method in class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
- write(int) - Method in class com.aayushatharva.brotli4j.encoder.BrotliOutputStream
- write(ByteBuffer) - Method in class com.aayushatharva.brotli4j.encoder.BrotliEncoderChannel
All Classes All Packages