public interface Filter
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(byte[] encodedData,
int[] filterData)
Applies this filter to decode data.
|
int |
getId()
Gets the ID of this filter, this must match the ID in the dataset header.
|
java.lang.String |
getName()
Gets the name of this filter e.g.
|
int getId()
java.lang.String getName()
byte[] decode(byte[] encodedData, int[] filterData)
HdfFilterException
will be thrown. This method must be thread safe,
multiple thread may use the filter simultaneously.encodedData
- the data to be decodedfilterData
- the settings from the file this filter was used with. e.g.
compression level.HdfFilterException
- if the decode operation fails