@Portable @Dependent public class ObservablePathImpl extends Object implements ObservablePath, IsVersioned
ObservablePath.OnConcurrentCopyEvent, ObservablePath.OnConcurrentDelete, ObservablePath.OnConcurrentRenameEvent, ObservablePath.OnConcurrentUpdateEvent| Constructor and Description |
|---|
ObservablePathImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Path o) |
void |
dispose() |
boolean |
equals(Object o) |
String |
getFileName() |
Path |
getOriginal() |
int |
hashCode() |
boolean |
hasVersionSupport() |
static int |
indexOfExtension(String filename) |
void |
onConcurrentCopy(ParameterizedCommand<ObservablePath.OnConcurrentCopyEvent> command) |
void |
onConcurrentDelete(ParameterizedCommand<ObservablePath.OnConcurrentDelete> command) |
void |
onConcurrentRename(ParameterizedCommand<ObservablePath.OnConcurrentRenameEvent> command) |
void |
onConcurrentUpdate(ParameterizedCommand<ObservablePath.OnConcurrentUpdateEvent> command) |
void |
onCopy(Command command) |
void |
onDelete(Command command) |
void |
onRename(Command command) |
void |
onUpdate(Command command) |
static String |
removeExtension(String filename) |
String |
toString() |
String |
toURI() |
ObservablePath |
wrap(Path path) |
public static int indexOfExtension(String filename)
public ObservablePath wrap(Path path)
wrap in interface ObservablePathpublic Path getOriginal()
getOriginal in interface ObservablePathpublic String getFileName()
getFileName in interface Pathpublic boolean hasVersionSupport()
hasVersionSupport in interface IsVersionedpublic int compareTo(Path o)
compareTo in interface Comparable<Path>public void onRename(Command command)
onRename in interface ObservablePathpublic void onDelete(Command command)
onDelete in interface ObservablePathpublic void onUpdate(Command command)
onUpdate in interface ObservablePathpublic void onCopy(Command command)
onCopy in interface ObservablePathpublic void onConcurrentRename(ParameterizedCommand<ObservablePath.OnConcurrentRenameEvent> command)
onConcurrentRename in interface ObservablePathpublic void onConcurrentDelete(ParameterizedCommand<ObservablePath.OnConcurrentDelete> command)
onConcurrentDelete in interface ObservablePathpublic void onConcurrentUpdate(ParameterizedCommand<ObservablePath.OnConcurrentUpdateEvent> command)
onConcurrentUpdate in interface ObservablePathpublic void onConcurrentCopy(ParameterizedCommand<ObservablePath.OnConcurrentCopyEvent> command)
onConcurrentCopy in interface ObservablePathpublic void dispose()
dispose in interface DisposableCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.