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 Path
static final DateTimeFormatter
protected final Path
static final DateTimeFormatter
static final DateTimeFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilder
appendOwnerInformation
(StringBuilder sb, String attr, String defaultValue) int
display
(boolean optLongDisplay, boolean optFullTime) protected boolean
readAttributes
(Path path) protected String
toString()
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:
compareTo
in interfaceComparable<ScpShell.PathEntry>
-
toString
-
display
- Throws:
NoSuchFileException
-
is
-
appendOwnerInformation
-
shortDisplay
-
toString
-
readAttributes
-