public class ClassicFtpFileAttributes extends org.mule.extension.file.common.api.AbstractFileAttributes implements FtpFileAttributes
FtpFileAttributes for files read from a FTP server.| Constructor and Description |
|---|
ClassicFtpFileAttributes(Path path,
org.apache.commons.net.ftp.FTPFile ftpFile)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
long |
getSize() |
LocalDateTime |
getTimestamp() |
boolean |
isDirectory() |
boolean |
isRegularFile() |
boolean |
isSymbolicLink() |
asDateTime, getPathtoStringpublic LocalDateTime getTimestamp()
getTimestamp in interface FtpFileAttributespublic String getName()
getName in interface org.mule.extension.file.common.api.FileAttributesgetName in class org.mule.extension.file.common.api.AbstractFileAttributespublic long getSize()
getSize in interface org.mule.extension.file.common.api.FileAttributespublic boolean isRegularFile()
isRegularFile in interface org.mule.extension.file.common.api.FileAttributespublic boolean isDirectory()
isDirectory in interface org.mule.extension.file.common.api.FileAttributespublic boolean isSymbolicLink()
isSymbolicLink in interface org.mule.extension.file.common.api.FileAttributesCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.