public abstract class ScpPathCommandDetailsSupport extends AbstractScpCommandDetails implements NamedResource
Modifier and Type | Field and Description |
---|---|
static int |
S_IRGRP |
static int |
S_IROTH |
static int |
S_IRUSR |
static int |
S_IWGRP |
static int |
S_IWOTH |
static int |
S_IWUSR |
static int |
S_IXGRP |
static int |
S_IXOTH |
static int |
S_IXUSR |
command
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Modifier | Constructor and Description |
---|---|
protected |
ScpPathCommandDetailsSupport(char command) |
protected |
ScpPathCommandDetailsSupport(char command,
String header) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected long |
getEffectiveLength() |
long |
getLength() |
String |
getName() |
static String |
getOctalPermissions(Collection<PosixFilePermission> perms) |
Set<PosixFilePermission> |
getPermissions() |
int |
hashCode() |
static Set<PosixFilePermission> |
parseOctalPermissions(String str) |
void |
setLength(long length) |
void |
setName(String name) |
void |
setPermissions(Set<PosixFilePermission> permissions) |
String |
toHeader() |
String |
toString() |
getCommand
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByName
public static final int S_IRUSR
public static final int S_IWUSR
public static final int S_IXUSR
public static final int S_IRGRP
public static final int S_IWGRP
public static final int S_IXGRP
public static final int S_IROTH
public static final int S_IWOTH
public static final int S_IXOTH
protected ScpPathCommandDetailsSupport(char command)
protected ScpPathCommandDetailsSupport(char command, String header)
public Set<PosixFilePermission> getPermissions()
public void setPermissions(Set<PosixFilePermission> permissions)
public long getLength()
protected long getEffectiveLength()
public void setLength(long length)
public String getName()
getName
in interface NamedResource
public void setName(String name)
public String toHeader()
toHeader
in class AbstractScpCommandDetails
public static String getOctalPermissions(Collection<PosixFilePermission> perms)
public static Set<PosixFilePermission> parseOctalPermissions(String str)
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.