Package org.scijava.io.event
Class IOEvent
- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.event.SciJavaEvent
-
- org.scijava.io.event.IOEvent
-
- All Implemented Interfaces:
Contextual
- Direct Known Subclasses:
DataOpenedEvent,DataSavedEvent
public abstract class IOEvent extends SciJavaEvent
An event indicating that I/O (e.g., opening or saving) has occurred.- Author:
- Curtis Rueden
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectgetData()Gets the data for which I/O took place.StringgetDescriptor()Deprecated.usegetLocation()insteadLocationgetLocation()Gets the data location (source or destination).StringtoString()-
Methods inherited from class org.scijava.event.SciJavaEvent
consume, dumpStack, getCallingThread, getStackTrace, isConsumed, setCallingThread, setConsumed
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
setContext
-
-
-
-
Constructor Detail
-
IOEvent
@Deprecated public IOEvent(String descriptor, Object data)
Deprecated.useIOEvent(Location, Object)instead
-
-
Method Detail
-
getLocation
public Location getLocation()
Gets the data location (source or destination).
-
getData
public Object getData()
Gets the data for which I/O took place.
-
toString
public String toString()
- Overrides:
toStringin classSciJavaEvent
-
getDescriptor
@Deprecated public String getDescriptor()
Deprecated.usegetLocation()instead
-
-