java.lang.Objectcom.realtime.crossfire.jxclient.gui.gauge.OrientationParser
public class OrientationParser
Utility class to parse orientation names.
| Constructor Summary | |
|---|---|
private |
OrientationParser()
Private constructor to prevent instantiation. |
| Method Summary | |
|---|---|
static Orientation |
parseOrientation(java.lang.String name)
Converts an orientation name into an Orientation instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private OrientationParser()
| Method Detail |
|---|
public static Orientation parseOrientation(@NotNull
java.lang.String name)
Orientation instance. Each
parsing creates a new instance.
name - the orientation name
java.lang.IllegalArgumentException - if the orientation name is undefined