RtfTokenizer

Inheritance: java.lang.Object, com.aspose.pdf.rtf.RtfTokenizer

public class RtfTokenizer extends Object

Class designed to extract streamed RTF content as set of tokens.

Constructors

ConstructorDescription
RtfTokenizer
RtfTokenizer

Methods

MethodDescription
readNextTokenReads the input stream and returns the next token.
skipConsumes and discards the specified number of characters from the input stream.

RtfTokenizer

RtfTokenizer

readNextToken

public final RtfToken readNextToken()

Reads the input stream and returns the next token.

skip

public final void skip(int count)

Consumes and discards the specified number of characters from the input stream.

Parameters:

ParameterTypeDescription
countThe number of characters to skip.