com.izforge.izpress
Class CompressorEvent

java.lang.Object
  extended by com.izforge.izpress.CompressorEvent

public class CompressorEvent
extends java.lang.Object

This class represents a CompressorEvent.

Here's the list of the events Strings :
- "COMMENTS" : the compressor is wiping the comments
- "BORDERS" : the compressor is wiping unreadable text, out of the document scope
- "RETURNS" : the compressor is wiping the unecessary returns
- "SPACES" : the compressor is wiping the unecessary spaces
- "OUTPUT" : the compressor is sendig the data to the output stream
- "DONE" : the job is finished.

Version:
1.1
Author:
Julien Ponge
See Also:
CompressorEvent

Constructor Summary
CompressorEvent(Compressor src, java.lang.String msg)
          The constructor.
 
Method Summary
 java.lang.String getMessage()
          Retrieves the message.
 Compressor getSource()
          Retrieves the source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressorEvent

public CompressorEvent(Compressor src,
                       java.lang.String msg)
The constructor.

Parameters:
scr - The compressor who fires this event.
msg - The String containing the event.
Method Detail

getSource

public Compressor getSource()
Retrieves the source.

Returns:
The Compressor who fired this event.

getMessage

public java.lang.String getMessage()
Retrieves the message.

Returns:
The message String.