public static enum SftpOutputStream.WriteMode extends Enum<SftpOutputStream.WriteMode>
| Enum Constant and Description |
|---|
APPEND
Append to existing file, if any.
|
OVERWRITE
Overwrite the existing file, if any.
|
RESUME
Resume an interrupted upload/download.
|
| Modifier and Type | Method and Description |
|---|---|
static SftpOutputStream.WriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SftpOutputStream.WriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SftpOutputStream.WriteMode OVERWRITE
public static final SftpOutputStream.WriteMode RESUME
public static final SftpOutputStream.WriteMode APPEND
public static SftpOutputStream.WriteMode[] values()
for (SftpOutputStream.WriteMode c : SftpOutputStream.WriteMode.values()) System.out.println(c);
public static SftpOutputStream.WriteMode 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 © 2019. All rights reserved.