|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Orientation>
net.coobird.thumbnailator.util.exif.Orientation
public enum Orientation
Representation for the Orientation (Tag 274) in the Exif metadata, as defined in Section 4.6.4 of the Exif Specification version 2.3.
| Enum Constant Summary | |
|---|---|
BOTTOM_LEFT
Orientation 4. |
|
BOTTOM_RIGHT
Orientation 3. |
|
LEFT_BOTTOM
Orientation 8. |
|
LEFT_TOP
Orientation 5. |
|
RIGHT_BOTTOM
Orientation 7. |
|
RIGHT_TOP
Orientation 6. |
|
TOP_LEFT
Orientation 1. |
|
TOP_RIGHT
Orientation 2. |
|
| Method Summary | |
|---|---|
String |
toString()
Returns a textual String reprensentation of this enum. |
static Orientation |
typeOf(int value)
Returns the Orientation corresponding to the given orientation
value. |
static Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Orientation[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Orientation TOP_LEFT
public static final Orientation TOP_RIGHT
public static final Orientation BOTTOM_RIGHT
public static final Orientation BOTTOM_LEFT
public static final Orientation LEFT_TOP
public static final Orientation RIGHT_TOP
public static final Orientation RIGHT_BOTTOM
public static final Orientation LEFT_BOTTOM
| Method Detail |
|---|
public static final Orientation[] values()
for(Orientation c : Orientation.values())
System.out.println(c);
public static Orientation 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 Orientation typeOf(int value)
Orientation corresponding to the given orientation
value.
value - The orientation value.
Orientation corresponding to the orientation
value. Return null if the given value does not
correspond to a valid Orientation.public String toString()
String reprensentation of this enum.
toString in class Enum<Orientation>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||