public class RtfTokenizer extends Object
Class designed to extract streamed RTF content as set of tokens.
| Constructor and Description |
|---|
RtfTokenizer(com.aspose.ms.System.IO.Stream stream) |
RtfTokenizer(com.aspose.ms.System.IO.TextReader reader) |
| Modifier and Type | Method and Description |
|---|---|
RtfToken |
readNextToken()
Reads the input stream and returns the next token.
|
void |
skip(int count)
Consumes and discards the specified number of characters from the input stream.
|
public RtfTokenizer(com.aspose.ms.System.IO.TextReader reader)
public RtfTokenizer(com.aspose.ms.System.IO.Stream stream)
public final RtfToken readNextToken()
Reads the input stream and returns the next token. Returns an EndOfFile token when the stream is empty.
public final void skip(int count)
Consumes and discards the specified number of characters from the input stream. Used to ignore fallback text after a \\uN Unicode character word.
count - The number of characters to skip.Copyright © 2026 Aspose. All Rights Reserved.