public class OrientationParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Orientation |
parseOrientation(@NotNull java.lang.String name)
Converts an orientation name into an
Orientation instance. |
public static Orientation parseOrientation(@NotNull @NotNull java.lang.String name)
Orientation
instance. Each
parsing creates a new instance.name
- the orientation namejava.lang.IllegalArgumentException
- if the orientation name is undefined