public class LocalFileAttributes
extends org.mule.extension.file.common.api.AbstractFileAttributes
FileAttributes for files obtained from a local file system.| Constructor and Description |
|---|
LocalFileAttributes(Path path) |
| Modifier and Type | Method and Description |
|---|---|
LocalDateTime |
getCreationTime() |
LocalDateTime |
getLastAccessTime() |
LocalDateTime |
getLastModifiedTime() |
long |
getSize() |
protected void |
initAttributes(Path path) |
boolean |
isDirectory() |
boolean |
isRegularFile() |
boolean |
isSymbolicLink() |
asDateTime, getName, getPathtoStringpublic LocalFileAttributes(Path path)
protected void initAttributes(Path path)
public LocalDateTime getLastModifiedTime()
public LocalDateTime getLastAccessTime()
public LocalDateTime getCreationTime()
public long getSize()
public boolean isRegularFile()
public boolean isDirectory()
public boolean isSymbolicLink()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.