public class COSFilterRegistry extends Object
| Modifier and Type | Method and Description |
|---|---|
static ASInFilter |
getDecodeFilter(ASAtom filterName,
ASInputStream inputStream,
COSDictionary decodeParams)
Gets decode filter from given input stream with given parameters.
|
static ASOutFilter |
getEncodeFilter(ASAtom filterName,
ASOutputStream outputStream)
Gets decode filter from given input stream.
|
public static ASInFilter getDecodeFilter(ASAtom filterName, ASInputStream inputStream, COSDictionary decodeParams) throws IOException
filterName - is name of filter to decode stream with.inputStream - is a stream with encoded data.decodeParams - is dictionary with decoding parameters.IOExceptionpublic static ASOutFilter getEncodeFilter(ASAtom filterName, ASOutputStream outputStream) throws IOException
filterName - is name of filter to encode stream with.outputStream - is a stream with data to encode.IOExceptionCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.