|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.EnumeratedValue
com.starteam.File.Compression
public static final class File.Compression
File compression level.
| Field Summary | |
|---|---|
static File.Compression[] |
ALL
All supported compression values. |
static File.Compression |
DEFAULT
Default compression algorithm is a compromise between speed and size. |
static File.Compression |
FAST
Compression algorithm that maximizes speed. |
static File.Compression |
NONE
No compression. |
static File.Compression |
SMALL
Compression algorithm that minimizes size of the compressed file. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares this Compression instance with the object O |
static File.Compression |
fromID(int id)
Gets the Compression value corresponding to the given ID. |
static File.Compression |
fromValue(EnumeratedValue value)
Gets the Compression value corresponding to the given EnumeratedValue. |
int |
getCode()
Return the enum code for this object. |
int |
getID()
The ID of the corresponding EnumeratedValue, as defined in CompressionProperty. |
int |
hashCode()
Returns a hashCode for this object |
| Methods inherited from class com.starteam.EnumeratedValue |
|---|
addChild, assignParent, copy, disable, enable, findChild, getChildValues, getDebugString, getDepthInHierarchy, getDisplayName, getDisplayNameTranslations, getInternalName, getParentValue, getSortOrder, hasChildValues, isClosedState, isDisabled, isEnabled, isEqualTo, isLeafValue, isRootValue, isSelectable, setAfter, setChildValues, setClosedState, setDisplayName, setDisplayNameTranslations, setEnabled, setInternalName, setSelectable, setSortOrder, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final File.Compression NONE
public static final File.Compression FAST
public static final File.Compression DEFAULT
public static final File.Compression SMALL
public static final File.Compression[] ALL
| Method Detail |
|---|
public int getID()
File.Type.CompressionPropertypublic int getCode()
getCode in class EnumeratedValuepublic static File.Compression fromValue(EnumeratedValue value)
value - One of the EnumeratedValues of a CompressionProperty.
public static File.Compression fromID(int id)
id - The ID of a Compression value.
public boolean equals(java.lang.Object o)
equals in class EnumeratedValueo - the Object to compare for equality
public int hashCode()
hashCode in class EnumeratedValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||