Class ProgressListenerImpl
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.osm.events.ProgressListenerImpl
-
- All Implemented Interfaces:
java.io.Serializable,java.util.EventListener,ProgressListener
public class ProgressListenerImpl extends java.lang.Object implements ProgressListener, java.io.Serializable
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $, initial version 20.03.2015
- Author:
- Moritz Bergmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProgressListenerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCurrentProgress()java.lang.StringgetLog()voidprogress(ProgressEvent progressEvent)Process one ProgressEvent.java.lang.StringtoString()
-
-
-
Method Detail
-
progress
public final void progress(ProgressEvent progressEvent)
Process one ProgressEvent.- Specified by:
progressin interfaceProgressListener- Parameters:
progressEvent- ProgressEvent; the event
-
getCurrentProgress
public final java.lang.String getCurrentProgress()
- Returns:
- Current Progress as String.
-
getLog
public final java.lang.String getLog()
- Returns:
- Log as String
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-