javax.swing.text.rtf
Class RTFReader.StylesheetDestination
java.lang.Object
javax.swing.text.rtf.RTFReader.DiscardingDestination
javax.swing.text.rtf.RTFReader.StylesheetDestination
- All Implemented Interfaces:
- RTFReader.Destination
- Enclosing class:
- RTFReader
- class RTFReader.StylesheetDestination
- extends RTFReader.DiscardingDestination
- implements RTFReader.Destination
Handles the stylesheet keyword. Styles are read and sorted
into the three style arrays in the RTFReader.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
definedStyles
Dictionary definedStyles
RTFReader.StylesheetDestination
public RTFReader.StylesheetDestination()
begingroup
public void begingroup()
- Specified by:
begingroup
in interface RTFReader.Destination
- Overrides:
begingroup
in class RTFReader.DiscardingDestination
close
public void close()
- Specified by:
close
in interface RTFReader.Destination
- Overrides:
close
in class RTFReader.DiscardingDestination
handleBinaryBlob
public void handleBinaryBlob(byte[] data)
handleText
public void handleText(String text)
handleKeyword
public boolean handleKeyword(String keyword)
handleKeyword
public boolean handleKeyword(String keyword,
int parameter)
endgroup
public void endgroup(Dictionary oldState)