public class FtpFileAttributes
extends org.mule.extension.file.common.api.AbstractFileAttributes
| Constructor and Description |
|---|
FtpFileAttributes(Path path,
org.apache.commons.net.ftp.FTPFile ftpFile)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getPath() |
long |
getSize() |
LocalDateTime |
getTimestamp() |
boolean |
isDirectory() |
boolean |
isRegularFile() |
boolean |
isSymbolicLink() |
public LocalDateTime getTimestamp()
public String getName()
getName in interface org.mule.extension.file.common.api.FileAttributesgetName in class org.mule.extension.file.common.api.AbstractFileAttributespublic long getSize()
public boolean isRegularFile()
public boolean isDirectory()
public boolean isSymbolicLink()
public String getPath()
getPath in interface org.mule.extension.file.common.api.FileAttributesgetPath in class org.mule.extension.file.common.api.AbstractFileAttributesCopyright © 2018 MuleSoft, Inc.. All rights reserved.