public class ASFilterFactory extends Object implements IASFilterFactory
| Constructor and Description |
|---|
ASFilterFactory(ASAtom filterType) |
| Modifier and Type | Method and Description |
|---|---|
ASInFilter |
getInFilter(ASInputStream inputStream,
COSDictionary decodeParams)
Gets decoded stream from the given one.
|
ASOutFilter |
getOutFilter(ASOutputStream outputStream)
Gets encoded stream from the given one.
|
public ASFilterFactory(ASAtom filterType)
public ASInFilter getInFilter(ASInputStream inputStream, COSDictionary decodeParams) throws IOException
getInFilter in interface IASFilterFactoryinputStream - is an encoded stream.decodeParams - is dictionary with parameters for filter.IOException - if decode filter for given stream is not supported.public ASOutFilter getOutFilter(ASOutputStream outputStream) throws IOException
getOutFilter in interface IASFilterFactoryoutputStream - is data to be encoded.IOException - if current encode filter is not supported.Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.