public interface FileAttributes extends Serializable
It contains information such as a file's name, size, timestamp, properties, etc.
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getPath() |
long |
getSize() |
boolean |
isDirectory() |
boolean |
isRegularFile() |
boolean |
isSymbolicLink() |
long getSize()
boolean isRegularFile()
true if the file is not a directory nor a symbolic linkboolean isDirectory()
true if the file is a directoryboolean isSymbolicLink()
true if the file is a symbolic linkString getPath()
String getName()
Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.