public static enum SftpClient.OpenMode extends Enum<SftpClient.OpenMode>
Enum Constant and Description |
---|
Append |
Create |
Exclusive |
Read |
Truncate |
Write |
Modifier and Type | Method and Description |
---|---|
static SftpClient.OpenMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SftpClient.OpenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SftpClient.OpenMode Read
public static final SftpClient.OpenMode Write
public static final SftpClient.OpenMode Append
public static final SftpClient.OpenMode Create
public static final SftpClient.OpenMode Truncate
public static final SftpClient.OpenMode Exclusive
public static SftpClient.OpenMode[] values()
for (SftpClient.OpenMode c : SftpClient.OpenMode.values()) System.out.println(c);
public static SftpClient.OpenMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.