public interface ResourceItem
| Modifier and Type | Method and Description |
|---|---|
static RootDirItem |
createObservedPath(java.nio.file.Path path)
Create an observable path
It is important to dispose the root item once not needed any more because
it unregisters listeners on the filesystem to track modifications
|
static RootDirItem |
createPath(java.nio.file.Path path)
Create a root item
|
java.lang.String |
getName() |
java.lang.Object |
getNativeResourceObject() |
java.lang.String |
getUri() |
javafx.beans.property.ReadOnlyObjectProperty<java.time.LocalDateTime> |
lastModifiedProperty()
Last modification of the resource
|
void |
refresh()
refresh the resource information
|
java.lang.String getName()
java.lang.Object getNativeResourceObject()
java.lang.String getUri()
void refresh()
javafx.beans.property.ReadOnlyObjectProperty<java.time.LocalDateTime> lastModifiedProperty()
static RootDirItem createPath(java.nio.file.Path path)
path - the pathstatic RootDirItem createObservedPath(java.nio.file.Path path)
It is important to dispose the root item once not needed any more because it unregisters listeners on the filesystem to track modifications
path - a path