|
Scanner | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ELanguage>
edu.tum.cs.scanner.ELanguage
public enum ELanguage
Enumeration class for the languages support by the scanner framework.
| GREEN Rev: 11100 |
| Enum Constant Summary | |
|---|---|
COBOL
COBOL |
|
CPP
C/C++ |
|
CS
C# |
|
JAVA
Java |
|
PL1
PL/I |
|
VB
Visual Basic |
|
| Method Summary | |
|---|---|
static ELanguage |
fromFileExtension(String path)
Gets the ELanguage value corresonding to a file extension |
static ELanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ELanguage[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ELanguage JAVA
public static final ELanguage CPP
public static final ELanguage VB
public static final ELanguage PL1
public static final ELanguage COBOL
public static final ELanguage CS
| Method Detail |
|---|
public static final ELanguage[] values()
for(ELanguage c : ELanguage.values())
System.out.println(c);
public static ELanguage valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic static ELanguage fromFileExtension(String path)
ELanguage value corresonding to a file extension
|
Scanner | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||