Package com.fizzed.blaze.ssh.impl
Class JschSftpSession.JschFileAttributes
- java.lang.Object
-
- com.fizzed.blaze.ssh.impl.JschSftpSession.JschFileAttributes
-
- All Implemented Interfaces:
SshFileAttributes
,java.nio.file.attribute.BasicFileAttributes
- Enclosing class:
- JschSftpSession
public static class JschSftpSession.JschFileAttributes extends java.lang.Object implements SshFileAttributes
-
-
Constructor Summary
Constructors Constructor Description JschFileAttributes(com.jcraft.jsch.SftpATTRS attrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.attribute.FileTime
creationTime()
java.lang.Object
fileKey()
int
gid()
boolean
isDirectory()
boolean
isOther()
boolean
isRegularFile()
boolean
isSymbolicLink()
java.nio.file.attribute.FileTime
lastAccessTime()
java.nio.file.attribute.FileTime
lastModifiedTime()
java.util.Set<java.nio.file.attribute.PosixFilePermission>
permissions()
long
size()
int
uid()
-
-
-
Method Detail
-
lastModifiedTime
public java.nio.file.attribute.FileTime lastModifiedTime()
- Specified by:
lastModifiedTime
in interfacejava.nio.file.attribute.BasicFileAttributes
-
lastAccessTime
public java.nio.file.attribute.FileTime lastAccessTime()
- Specified by:
lastAccessTime
in interfacejava.nio.file.attribute.BasicFileAttributes
-
creationTime
public java.nio.file.attribute.FileTime creationTime()
- Specified by:
creationTime
in interfacejava.nio.file.attribute.BasicFileAttributes
-
isRegularFile
public boolean isRegularFile()
- Specified by:
isRegularFile
in interfacejava.nio.file.attribute.BasicFileAttributes
-
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory
in interfacejava.nio.file.attribute.BasicFileAttributes
-
isSymbolicLink
public boolean isSymbolicLink()
- Specified by:
isSymbolicLink
in interfacejava.nio.file.attribute.BasicFileAttributes
-
isOther
public boolean isOther()
- Specified by:
isOther
in interfacejava.nio.file.attribute.BasicFileAttributes
-
size
public long size()
- Specified by:
size
in interfacejava.nio.file.attribute.BasicFileAttributes
-
fileKey
public java.lang.Object fileKey()
- Specified by:
fileKey
in interfacejava.nio.file.attribute.BasicFileAttributes
-
gid
public int gid()
- Specified by:
gid
in interfaceSshFileAttributes
-
uid
public int uid()
- Specified by:
uid
in interfaceSshFileAttributes
-
permissions
public java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions()
- Specified by:
permissions
in interfaceSshFileAttributes
-
-