ContentStreamParser

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

SignatureDescription
parse(streamData: byte[])List<Operator>Parses raw content stream bytes into a list of operators.
parseToCollection(stream: PdfStream)OperatorCollectionParses a content stream from a PdfStream and returns an OperatorCollection.
parseToCollection(data: byte[])OperatorCollectionParses raw content stream bytes and returns an OperatorCollection.

See Also

 English