Package com.rtfparserkit.parser.standard
Class BinaryBytesEvent
- java.lang.Object
-
- com.rtfparserkit.parser.standard.BinaryBytesEvent
-
- All Implemented Interfaces:
IParserEvent
class BinaryBytesEvent extends java.lang.Object implements IParserEvent
Represents an event to be sent to the listener.
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]data
-
Constructor Summary
Constructors Constructor Description BinaryBytesEvent(byte[] data)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfire(IRtfListener listener)Pass the event to the listener.ParserEventTypegetType()Retrieve the event type.java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public ParserEventType getType()
Retrieve the event type.- Specified by:
getTypein interfaceIParserEvent
-
fire
public void fire(IRtfListener listener)
Pass the event to the listener.- Specified by:
firein interfaceIParserEvent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-