public class SftpFileAttributes extends org.mule.extension.file.common.api.AbstractFileAttributes implements FtpFileAttributes
FtpFileAttributes for files read from a SFTP server.| Constructor and Description |
|---|
SftpFileAttributes(Path path,
com.jcraft.jsch.SftpATTRS attrs)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
long |
getSize() |
LocalDateTime |
getTimestamp() |
boolean |
isDirectory() |
boolean |
isRegularFile() |
boolean |
isSymbolicLink() |
asDateTime, getName, getPathtoStringpublic LocalDateTime getTimestamp()
getTimestamp in interface FtpFileAttributespublic 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.