ContentStreamParser
Overview
ContentStreamParser is a class in Aspose.PDF FOSS for Java.
Parses PDF content streams into a list of {@link Operator} objects.
This class provides 3 methods for working with ContentStreamParser objects in Java programs.
Available methods include: parse, parseToCollection.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Methods
| Signature | Description |
|---|---|
parse(streamData: byte[]) → List<Operator> | Parses raw content stream bytes into a list of operators. |
parseToCollection(stream: PdfStream) → OperatorCollection | Parses a content stream from a PdfStream and returns an OperatorCollection. |
parseToCollection(data: byte[]) → OperatorCollection | Parses raw content stream bytes and returns an OperatorCollection. |