org.freehep.util.io
Class LineNumberWriter.LineNumberEvent
java.lang.Object
java.util.EventObject
org.freehep.util.io.LineNumberWriter.LineNumberEvent
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- LineNumberWriter
public static class LineNumberWriter.LineNumberEvent
- extends EventObject
Event to be used by the LineNumberListener interface.
- Version:
- $Id: LineNumberWriter.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- duns
- See Also:
- Serialized Form
LineNumberWriter.LineNumberEvent
public LineNumberWriter.LineNumberEvent(Object source,
int lineNo)
- Create a LineNumberEvent
- Parameters:
source
- event sourcelineNo
- current line number
getLineNumber
public int getLineNumber()
- Returns:
- current line number
toString
public String toString()
- Overrides:
toString
in class EventObject
Copyright © 2000-2007 FreeHEP. All Rights Reserved.