Enum SftpClient.Attribute
- java.lang.Object
-
- java.lang.Enum<SftpClient.Attribute>
-
- org.apache.sshd.client.subsystem.sftp.SftpClient.Attribute
-
- All Implemented Interfaces:
Serializable
,Comparable<SftpClient.Attribute>
- Enclosing interface:
- SftpClient
public static enum SftpClient.Attribute extends Enum<SftpClient.Attribute>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AccessTime
Acl
CreateTime
Extensions
ModifyTime
OwnerGroup
Perms
Size
UidGid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SftpClient.Attribute
valueOf(String name)
Returns the enum constant of this type with the specified name.static SftpClient.Attribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Size
public static final SftpClient.Attribute Size
-
UidGid
public static final SftpClient.Attribute UidGid
-
Perms
public static final SftpClient.Attribute Perms
-
OwnerGroup
public static final SftpClient.Attribute OwnerGroup
-
AccessTime
public static final SftpClient.Attribute AccessTime
-
ModifyTime
public static final SftpClient.Attribute ModifyTime
-
CreateTime
public static final SftpClient.Attribute CreateTime
-
Acl
public static final SftpClient.Attribute Acl
-
Extensions
public static final SftpClient.Attribute Extensions
-
-
Method Detail
-
values
public static SftpClient.Attribute[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SftpClient.Attribute c : SftpClient.Attribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SftpClient.Attribute valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-