com.commsen.jwebthumb
Enum WebThumbFetchRequest.Size
java.lang.Object
java.lang.Enum<WebThumbFetchRequest.Size>
com.commsen.jwebthumb.WebThumbFetchRequest.Size
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WebThumbFetchRequest.Size>
- Enclosing class:
- WebThumbFetchRequest
public static enum WebThumbFetchRequest.Size
- extends java.lang.Enum<WebThumbFetchRequest.Size>
Enumeration contains all sizes acceptable by webthumb's fetch method For more details check
webthumb API at http://webthumb.bluga.net/apidoc#fetch
- Author:
- Milen Dyankov
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 |
small
public static final WebThumbFetchRequest.Size small
medium
public static final WebThumbFetchRequest.Size medium
medium2
public static final WebThumbFetchRequest.Size medium2
large
public static final WebThumbFetchRequest.Size large
full
public static final WebThumbFetchRequest.Size full
excerpt
public static final WebThumbFetchRequest.Size excerpt
effect
public static final WebThumbFetchRequest.Size effect
custom
public static final WebThumbFetchRequest.Size custom
zip
public static final WebThumbFetchRequest.Size zip
values
public static WebThumbFetchRequest.Size[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (WebThumbFetchRequest.Size c : WebThumbFetchRequest.Size.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WebThumbFetchRequest.Size valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
Copyright © 2010 COMMSEN International. All Rights Reserved.