Jonathan Chien created SSHD-345:
-----------------------------------
Summary: Add isDirectory, isSymlink, isRegularFIle, and isOther
methods to Attributes
Key: SSHD-345
URL: https://issues.apache.org/jira/browse/SSHD-345
Project: MINA SSHD
Issue Type: Improvement
Affects Versions: 0.12.0
Reporter: Jonathan Chien
Calling DefaultSftpClient.lstat or stat returns an Attributes object. It would
be helpful if the Attributes object implemented or had the methods available of
the Java 7 BasicFileAttributes interface.
The current missing methods are isDirectory, isSymlink, isRegularFIle, and
isOther. This information is returned by the stat and without these methods,
there's no good way to determine what time of file a Path is without using
ChannelExec to do a test or stat manually.
--
This message was sent by Atlassian JIRA
(v6.2#6252)