|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<YonderOp>
com.partnersoft.net.yonder.YonderOp
public enum YonderOp
Defined Yonder file operations.
Copyright 2008 Partner Software, Inc.
| Enum Constant Summary | |
|---|---|
CLOSE
Close operator. |
|
CONNECT
Connect operator. |
|
DISCONNECT
Disconnect operator. |
|
EOF
End-of-file operator; intentionally has same code as EOF (-1) returned by Java's InputStream.read() method. |
|
ERROR
Error operator. |
|
GET_LENGTH
Get-length operator. |
|
INFO
File info request operator. |
|
LIST
Directory listing operator. |
|
MAKE_DIRECTORY
Make directory operator. |
|
NOK
Non-confirmation operator. |
|
OK
Confirmation operator. |
|
OPEN
Open operator. |
|
READ
Read operator. |
|
REMOVE
Remove operator. |
|
SET_LENGTH
Set-length operator. |
|
WRITE
Write operator. |
|
| Method Summary | |
|---|---|
static YonderOp |
forCode(int code)
|
static YonderOp |
forName(java.lang.String name)
|
int |
getCode()
Single-byte code used during transfer. |
java.lang.String |
getName()
Human-readable name for the op. |
java.lang.String |
toString()
|
static YonderOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static YonderOp[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final YonderOp EOF
public static final YonderOp ERROR
public static final YonderOp OK
public static final YonderOp NOK
public static final YonderOp CONNECT
public static final YonderOp DISCONNECT
public static final YonderOp INFO
public static final YonderOp LIST
public static final YonderOp OPEN
public static final YonderOp CLOSE
public static final YonderOp READ
public static final YonderOp WRITE
public static final YonderOp GET_LENGTH
public static final YonderOp SET_LENGTH
public static final YonderOp MAKE_DIRECTORY
public static final YonderOp REMOVE
| Method Detail |
|---|
public static YonderOp[] values()
for (YonderOp c : YonderOp.values()) System.out.println(c);
public static YonderOp valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static YonderOp forName(java.lang.String name)
public static YonderOp forCode(int code)
public java.lang.String toString()
toString in class java.lang.Enum<YonderOp>public java.lang.String getName()
public int getCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||