public abstract class PathItemImpl extends java.lang.Object implements ResourceItem
| Modifier and Type | Field and Description |
|---|---|
java.nio.file.Path |
path
The path
|
| Modifier and Type | Method and Description |
|---|---|
static RootDirItem |
createObservedPath(java.nio.file.Path path)
Create a new observed path
|
static RootDirItem |
createPath(java.nio.file.Path path)
Create a new path
|
java.lang.String |
getName() |
java.nio.file.Path |
getNativeResourceObject() |
java.lang.String |
getUri() |
javafx.beans.property.ReadOnlyObjectProperty<java.time.LocalDateTime> |
lastModifiedProperty()
Last modification of the resource
|
void |
refresh()
refresh the resource information
|
public java.lang.String getName()
getName in interface ResourceItempublic java.nio.file.Path getNativeResourceObject()
getNativeResourceObject in interface ResourceItempublic java.lang.String getUri()
getUri in interface ResourceItempublic javafx.beans.property.ReadOnlyObjectProperty<java.time.LocalDateTime> lastModifiedProperty()
ResourceItemlastModifiedProperty in interface ResourceItempublic void refresh()
ResourceItemrefresh in interface ResourceItempublic static RootDirItem createObservedPath(java.nio.file.Path path)
createObservedPath in interface ResourceItempath - the pathpublic static RootDirItem createPath(java.nio.file.Path path)
createPath in interface ResourceItempath - the path