Package org.apache.sshd.scp.server
Class ScpShell.PathEntry
java.lang.Object
org.apache.sshd.scp.server.ScpShell.PathEntry
- All Implemented Interfaces:
Comparable<ScpShell.PathEntry>
- Enclosing class:
ScpShell
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Pathstatic final DateTimeFormatterprotected final Pathstatic final DateTimeFormatterstatic final DateTimeFormatter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilderappendOwnerInformation(StringBuilder sb, String attr, String defaultValue) intdisplay(boolean optLongDisplay, boolean optFullTime) protected booleanreadAttributes(Path path) protected StringtoString()protected static String
-
Field Details
-
FULL_TIME_VALUE_FORMATTER
-
TIME_ONLY_VALUE_FORMATTER
-
YEAR_VALUE_FORMATTER
-
abs
-
path
-
attributes
-
-
Constructor Details
-
PathEntry
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<ScpShell.PathEntry>
-
toString
-
display
- Throws:
NoSuchFileException
-
is
-
appendOwnerInformation
-
shortDisplay
-
toString
-
readAttributes
-