public abstract class AbstractFileAttributes extends Object implements FileAttributes, Serializable
FileAttributes| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFileAttributes(Path path)
Creates a new instance
|
protected |
AbstractFileAttributes(URI uri)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected LocalDateTime |
asDateTime(Instant instant) |
String |
getName() |
String |
getPath() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSize, isDirectory, isRegularFile, isSymbolicLink@Parameter protected final String path
protected AbstractFileAttributes(Path path)
path - a Path pointing to the represented filepublic String getPath()
getPath in interface FileAttributespublic String getName()
getName in interface FileAttributesprotected LocalDateTime asDateTime(Instant instant)
Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.