|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Platform>
org.carrot2.core.Platform
public enum Platform
Provides the runtime execution platform environment information.
Carrot2 is cross-compiled (with many adaptations) to .NET using IKVM and this switch permits us omit certain irrelevant tests.
| Enum Constant Summary | |
|---|---|
DOTNET
|
|
JAVA
|
|
| Method Summary | |
|---|---|
static Platform |
getPlatform()
Returns the current execution platform (hardcoded at build time). |
static Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Platform[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Platform JAVA
public static final Platform DOTNET
| Method Detail |
|---|
public static Platform[] values()
for (Platform c : Platform.values()) System.out.println(c);
public static Platform 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 Platform getPlatform()
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||