Class ScpReceiveDirCommandDetails
- java.lang.Object
-
- org.apache.sshd.scp.common.helpers.AbstractScpCommandDetails
-
- org.apache.sshd.scp.common.helpers.ScpPathCommandDetailsSupport
-
- org.apache.sshd.scp.common.helpers.ScpReceiveDirCommandDetails
-
- All Implemented Interfaces:
NamedResource
public class ScpReceiveDirCommandDetails extends ScpPathCommandDetailsSupport
Holds the details of a "Dmmmm" command - e.g., "D0755 0 dirname"
-
-
Field Summary
Fields Modifier and Type Field Description static char
COMMAND_NAME
static java.lang.String
DEFAULT_DIR_OCTAL_PERMISSIONS
-
Fields inherited from class org.apache.sshd.scp.common.helpers.ScpPathCommandDetailsSupport
S_IRGRP, S_IROTH, S_IRUSR, S_IWGRP, S_IWOTH, S_IWUSR, S_IXGRP, S_IXOTH, S_IXUSR
-
Fields inherited from class org.apache.sshd.scp.common.helpers.AbstractScpCommandDetails
command
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Constructor Description ScpReceiveDirCommandDetails()
ScpReceiveDirCommandDetails(java.lang.String header)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
getEffectiveLength()
static ScpReceiveDirCommandDetails
parse(java.lang.String header)
-
Methods inherited from class org.apache.sshd.scp.common.helpers.ScpPathCommandDetailsSupport
equals, getLength, getName, getOctalPermissions, getPermissions, hashCode, parseOctalPermissions, setLength, setName, setPermissions, toHeader, toString
-
Methods inherited from class org.apache.sshd.scp.common.helpers.AbstractScpCommandDetails
getCommand
-
-
-
-
Field Detail
-
DEFAULT_DIR_OCTAL_PERMISSIONS
public static final java.lang.String DEFAULT_DIR_OCTAL_PERMISSIONS
- See Also:
- Constant Field Values
-
COMMAND_NAME
public static final char COMMAND_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEffectiveLength
protected long getEffectiveLength()
- Overrides:
getEffectiveLength
in classScpPathCommandDetailsSupport
-
parse
public static ScpReceiveDirCommandDetails parse(java.lang.String header)
-
-