|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OdetteFtpVersion>
org.neociclo.odetteftp.OdetteFtpVersion
public enum OdetteFtpVersion
Enum Constant Summary | |
---|---|
OFTP_V12
ODETTE-FTP version 1.2 as specified by ODETTE Organization |
|
OFTP_V13
ODETTE FTP version 1.3 as specified in RFC 2204 |
|
OFTP_V14
ODETTE FTP version 1.4 as detailed in RFC 5024 |
|
OFTP_V20
ODETTE FTP version 2.0 as specified in RFC 5024 |
Method Summary | |
---|---|
int |
getProtocolLevel()
|
boolean |
isEarlier(OdetteFtpVersion otherVersion)
|
boolean |
isEqualOrEarlier(OdetteFtpVersion otherVersion)
|
boolean |
isEqualOrOlder(OdetteFtpVersion otherVersion)
|
boolean |
isOlder(OdetteFtpVersion otherVersion)
|
static OdetteFtpVersion |
parse(int protocolLevel)
|
String |
toString()
|
static OdetteFtpVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OdetteFtpVersion[] |
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 OdetteFtpVersion OFTP_V12
public static final OdetteFtpVersion OFTP_V13
public static final OdetteFtpVersion OFTP_V14
public static final OdetteFtpVersion OFTP_V20
Method Detail |
---|
public static OdetteFtpVersion[] values()
for (OdetteFtpVersion c : OdetteFtpVersion.values()) System.out.println(c);
public static OdetteFtpVersion valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static OdetteFtpVersion parse(int protocolLevel)
public int getProtocolLevel()
public String toString()
toString
in class Enum<OdetteFtpVersion>
public boolean isEqualOrEarlier(OdetteFtpVersion otherVersion)
public boolean isEarlier(OdetteFtpVersion otherVersion)
public boolean isOlder(OdetteFtpVersion otherVersion)
public boolean isEqualOrOlder(OdetteFtpVersion otherVersion)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |