Class JschSftpSession.JschFileAttributes

    • Constructor Detail

      • JschFileAttributes

        public JschFileAttributes​(com.jcraft.jsch.SftpATTRS attrs)
    • Method Detail

      • lastModifiedTime

        public java.nio.file.attribute.FileTime lastModifiedTime()
        Specified by:
        lastModifiedTime in interface java.nio.file.attribute.BasicFileAttributes
      • lastAccessTime

        public java.nio.file.attribute.FileTime lastAccessTime()
        Specified by:
        lastAccessTime in interface java.nio.file.attribute.BasicFileAttributes
      • creationTime

        public java.nio.file.attribute.FileTime creationTime()
        Specified by:
        creationTime in interface java.nio.file.attribute.BasicFileAttributes
      • isRegularFile

        public boolean isRegularFile()
        Specified by:
        isRegularFile in interface java.nio.file.attribute.BasicFileAttributes
      • isDirectory

        public boolean isDirectory()
        Specified by:
        isDirectory in interface java.nio.file.attribute.BasicFileAttributes
      • isSymbolicLink

        public boolean isSymbolicLink()
        Specified by:
        isSymbolicLink in interface java.nio.file.attribute.BasicFileAttributes
      • isOther

        public boolean isOther()
        Specified by:
        isOther in interface java.nio.file.attribute.BasicFileAttributes
      • size

        public long size()
        Specified by:
        size in interface java.nio.file.attribute.BasicFileAttributes
      • fileKey

        public java.lang.Object fileKey()
        Specified by:
        fileKey in interface java.nio.file.attribute.BasicFileAttributes
      • permissions

        public java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions()
        Specified by:
        permissions in interface SshFileAttributes