org.apache.beehive.netui.util.config.bean
Class MultipartHandler

Object
  extended by MultipartHandler
All Implemented Interfaces:
Serializable

public final class MultipartHandler
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static MultipartHandler DISABLED
           
static MultipartHandler DISK
           
static int INT_DISABLED
           
static int INT_DISK
           
static int INT_MEMORY
           
static MultipartHandler MEMORY
           
 
Method Summary
 boolean equals(Object value)
          Equals method.
 int getValue()
          The multipart handler's int value.
 int hashCode()
          Hash code.
 String toString()
          Convert this multipart handler to a readable String.
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INT_DISABLED

public static final int INT_DISABLED
See Also:
Constant Field Values

INT_MEMORY

public static final int INT_MEMORY
See Also:
Constant Field Values

INT_DISK

public static final int INT_DISK
See Also:
Constant Field Values

DISABLED

public static final MultipartHandler DISABLED

MEMORY

public static final MultipartHandler MEMORY

DISK

public static final MultipartHandler DISK
Method Detail

toString

public String toString()
Convert this multipart handler to a readable String.

Overrides:
toString in class Object
Returns:
the readable multipart handler name

equals

public boolean equals(Object value)
Equals method.

Overrides:
equals in class Object
Parameters:
value - value to check
Returns:
true if this multipart handler matches the value; false otherwise.

hashCode

public int hashCode()
Hash code.

Overrides:
hashCode in class Object
Returns:
the hash code

getValue

public int getValue()
The multipart handler's int value.

Returns:
the multipart handler's value