public static final class PathWatchers.Event
extends java.lang.Object
PathWatcher events.| Modifier and Type | Class and Description |
|---|---|
static class |
PathWatchers.Event.Kind
An enum like class to indicate the type of file event.
|
| Constructor and Description |
|---|
Event(TypedPath typedPath,
PathWatchers.Event.Kind kind) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
PathWatchers.Event.Kind |
getKind()
Returns the kind of event.
|
TypedPath |
getTypedPath()
Return the
TypedPath associated with this Event. |
int |
hashCode() |
java.lang.String |
toString() |
public Event(TypedPath typedPath, PathWatchers.Event.Kind kind)
public TypedPath getTypedPath()
TypedPath associated with this Event.TypedPath.public PathWatchers.Event.Kind getKind()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object