Skip navigation links
A C G H I M P R S U V 

A

AbstractTextConverter - Class in com.rtfparserkit.converter.text
This class implements the core of a trivial RTF to text converter.
AbstractTextConverter() - Constructor for class com.rtfparserkit.converter.text.AbstractTextConverter
 

C

com.rtfparserkit.converter.text - package com.rtfparserkit.converter.text
 
com.rtfparserkit.parser - package com.rtfparserkit.parser
 
com.rtfparserkit.parser.raw - package com.rtfparserkit.parser.raw
 
com.rtfparserkit.parser.standard - package com.rtfparserkit.parser.standard
 
com.rtfparserkit.rtf - package com.rtfparserkit.rtf
 
com.rtfparserkit.utils - package com.rtfparserkit.utils
 
Command - Enum in com.rtfparserkit.rtf
Enumeration of all RTF commands.
CommandType - Enum in com.rtfparserkit.rtf
Enumeration of command types.
convert(IRtfSource) - Method in class com.rtfparserkit.converter.text.AbstractTextConverter
 
convert(IRtfSource, OutputStream, String) - Method in class com.rtfparserkit.converter.text.StreamTextConverter
 
convert(IRtfSource) - Method in class com.rtfparserkit.converter.text.StringTextConverter
 

G

getCommandName() - Method in enum com.rtfparserkit.rtf.Command
Retrieve the command name, as it appears in the RTF file.
getCommandType() - Method in enum com.rtfparserkit.rtf.Command
Retrieve the command type.
getInstance(String) - Static method in enum com.rtfparserkit.rtf.Command
Translate a name into a Command instance.
getLastEvent() - Method in class com.rtfparserkit.parser.standard.UprHandler
Retrieve the last event seen by the handler.
getText() - Method in class com.rtfparserkit.converter.text.StringTextConverter
 

H

handleEvent(IParserEvent) - Method in class com.rtfparserkit.parser.standard.UprHandler
Buffers events until the end of the group containing the upr command is reached.
HexUtils - Class in com.rtfparserkit.utils
Utilities for working with hex numbers.
HexUtils() - Constructor for class com.rtfparserkit.utils.HexUtils
 

I

IRtfListener - Interface in com.rtfparserkit.parser
Listener interface implemented by classes to receive event from an RTF parser.
IRtfParser - Interface in com.rtfparserkit.parser
Standard interface implemented by an RTF parser.
IRtfSource - Interface in com.rtfparserkit.parser
Classes implementing this interface can be used as the source of RTF data for the parser to consume.
isComplete() - Method in class com.rtfparserkit.parser.standard.UprHandler
Returns true once the end of the group containing the upr command as been reached.

M

main(String[]) - Static method in class com.rtfparserkit.utils.RtfDump
 

P

parse(IRtfSource, IRtfListener) - Method in interface com.rtfparserkit.parser.IRtfParser
At the point the parser is constructed, a listener will have been supplied by the caller.
parse(IRtfSource, IRtfListener) - Method in class com.rtfparserkit.parser.raw.RawRtfParser
Parse RTF data from an input source.
parse(IRtfSource, IRtfListener) - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Main entry point: parse RTF data from the input stream, and pass events based on the RTF content to the listener.
parseHexDigit(int) - Static method in class com.rtfparserkit.utils.HexUtils
Parse a hex digit.
parseHexString(String) - Static method in class com.rtfparserkit.utils.HexUtils
Convert a string of hex digits into an array of bytes.
processBinaryBytes(byte[]) - Method in interface com.rtfparserkit.parser.IRtfListener
Event raised by an RTF parser to pass binary bytes.
processBinaryBytes(byte[]) - Method in class com.rtfparserkit.parser.RtfListenerAdaptor
 
processBinaryBytes(byte[]) - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Handle event from the RawRtfParser.
processBinaryBytes(byte[]) - Method in class com.rtfparserkit.utils.RtfDumpListener
Write binary data as hex.
processCharacterBytes(byte[]) - Method in interface com.rtfparserkit.parser.IRtfListener
Event raised by the raw RTF parser to pass bytes representing characters.
processCharacterBytes(byte[]) - Method in class com.rtfparserkit.parser.RtfListenerAdaptor
 
processCharacterBytes(byte[]) - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Handle event from the RawRtfParser.
processCharacterBytes(byte[]) - Method in class com.rtfparserkit.utils.RtfDumpListener
Write character bytes - note that we cheat, we just convert them directly to a string for output with no regard to the encoding.
processCommand(Command, int, boolean, boolean) - Method in class com.rtfparserkit.converter.text.AbstractTextConverter
 
processCommand(Command, int, boolean, boolean) - Method in interface com.rtfparserkit.parser.IRtfListener
Event raised by the RTF parser detailing a command read from the file.
processCommand(Command, int, boolean, boolean) - Method in class com.rtfparserkit.parser.RtfListenerAdaptor
 
processCommand(Command, int, boolean, boolean) - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Handle event from the RawRtfParser.
processCommand(Command, int, boolean, boolean) - Method in class com.rtfparserkit.utils.RtfDumpListener
Write a command tag.
processDocumentEnd() - Method in interface com.rtfparserkit.parser.IRtfListener
Event raised when the parser reaches the end of the document.
processDocumentEnd() - Method in class com.rtfparserkit.parser.RtfListenerAdaptor
 
processDocumentEnd() - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Handle event from the RawRtfParser.
processDocumentEnd() - Method in class com.rtfparserkit.utils.RtfDumpListener
Create the document trailer.
processDocumentStart() - Method in interface com.rtfparserkit.parser.IRtfListener
Event raised when the parser starts to read the document.
processDocumentStart() - Method in class com.rtfparserkit.parser.RtfListenerAdaptor
 
processDocumentStart() - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Handle event from the RawRtfParser.
processDocumentStart() - Method in class com.rtfparserkit.utils.RtfDumpListener
Create the document header.
processExtractedText(String) - Method in class com.rtfparserkit.converter.text.AbstractTextConverter
This method is called to process the test we've extracted from the RTF file.
processExtractedText(String) - Method in class com.rtfparserkit.converter.text.StreamTextConverter
 
processExtractedText(String) - Method in class com.rtfparserkit.converter.text.StringTextConverter
 
processGroupEnd() - Method in class com.rtfparserkit.converter.text.AbstractTextConverter
 
processGroupEnd() - Method in interface com.rtfparserkit.parser.IRtfListener
Event raised when the end of a group is encountered.
processGroupEnd() - Method in class com.rtfparserkit.parser.RtfListenerAdaptor
 
processGroupEnd() - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Handle event from the RawRtfParser.
processGroupEnd() - Method in class com.rtfparserkit.utils.RtfDumpListener
Write a group end tag.
processGroupStart() - Method in class com.rtfparserkit.converter.text.AbstractTextConverter
 
processGroupStart() - Method in interface com.rtfparserkit.parser.IRtfListener
Event raised when the stat of a group is encountered.
processGroupStart() - Method in class com.rtfparserkit.parser.RtfListenerAdaptor
 
processGroupStart() - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Handle event from the RawRtfParser.
processGroupStart() - Method in class com.rtfparserkit.utils.RtfDumpListener
Write a group start tag.
processString(String) - Method in class com.rtfparserkit.converter.text.AbstractTextConverter
 
processString(String) - Method in interface com.rtfparserkit.parser.IRtfListener
Event raised by the RTF parser to pass string data.
processString(String) - Method in class com.rtfparserkit.parser.RtfListenerAdaptor
 
processString(String) - Method in class com.rtfparserkit.parser.standard.StandardRtfParser
Handle event from the RawRtfParser.
processString(String) - Method in class com.rtfparserkit.utils.RtfDumpListener
Write string data.

R

RawRtfParser - Class in com.rtfparserkit.parser.raw
This class implements a low level RTF parser.
RawRtfParser() - Constructor for class com.rtfparserkit.parser.raw.RawRtfParser
 
read() - Method in interface com.rtfparserkit.parser.IRtfSource
Read a single byte.
read(byte[]) - Method in interface com.rtfparserkit.parser.IRtfSource
Read enough bytes to fill the array.
read() - Method in class com.rtfparserkit.parser.RtfStreamSource
 
read(byte[]) - Method in class com.rtfparserkit.parser.RtfStreamSource
 
read() - Method in class com.rtfparserkit.parser.RtfStringSource
 
read(byte[]) - Method in class com.rtfparserkit.parser.RtfStringSource
 
removeLastEvent() - Method in class com.rtfparserkit.parser.standard.UprHandler
Assumes the handler is buffering events, and removes the last event from this buffer.
RtfDump - Class in com.rtfparserkit.utils
 
RtfDump() - Constructor for class com.rtfparserkit.utils.RtfDump
 
RtfDumpListener - Class in com.rtfparserkit.utils
Trivial class used to convert events generated by an RTF parser into an XML document.
RtfDumpListener(OutputStream) - Constructor for class com.rtfparserkit.utils.RtfDumpListener
Constructor.
RtfListenerAdaptor - Class in com.rtfparserkit.parser
This adaptor class is provided as a convenience for users of the IRtfListener interface.
RtfListenerAdaptor() - Constructor for class com.rtfparserkit.parser.RtfListenerAdaptor
 
RtfStreamSource - Class in com.rtfparserkit.parser
Implementation of IRtfSource which will read the RTF file from a stream.
RtfStreamSource(InputStream) - Constructor for class com.rtfparserkit.parser.RtfStreamSource
 
RtfStringSource - Class in com.rtfparserkit.parser
This is a hack...
RtfStringSource(String) - Constructor for class com.rtfparserkit.parser.RtfStringSource
 

S

StandardRtfParser - Class in com.rtfparserkit.parser.standard
This class builds on the RawRtfParser to provide a parser which can deal with character encodings and Unicode.
StandardRtfParser() - Constructor for class com.rtfparserkit.parser.standard.StandardRtfParser
 
StreamTextConverter - Class in com.rtfparserkit.converter.text
This class implements a trivial RTF to text converter.
StreamTextConverter() - Constructor for class com.rtfparserkit.converter.text.StreamTextConverter
 
StringTextConverter - Class in com.rtfparserkit.converter.text
This class implements a trivial RTF to text converter.
StringTextConverter() - Constructor for class com.rtfparserkit.converter.text.StringTextConverter
 

U

unread(int) - Method in interface com.rtfparserkit.parser.IRtfSource
Push back a single byte to allow it to be read again by the parser.
unread(int) - Method in class com.rtfparserkit.parser.RtfStreamSource
 
unread(int) - Method in class com.rtfparserkit.parser.RtfStringSource
 
UprHandler - Class in com.rtfparserkit.parser.standard
The upr command is used to wrap two different versions of the same set of formatting commands.
UprHandler(IParserEventHandler) - Constructor for class com.rtfparserkit.parser.standard.UprHandler
Constructor.

V

valueOf(String) - Static method in enum com.rtfparserkit.rtf.Command
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.rtfparserkit.rtf.CommandType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.rtfparserkit.rtf.Command
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.rtfparserkit.rtf.CommandType
Returns an array containing the constants of this enum type, in the order they are declared.
A C G H I M P R S U V 
Skip navigation links

Copyright © 2013–2018. All rights reserved.