|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.book.sword.CompressionType
public abstract class CompressionType
Data about Compression types.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormField Summary | |
---|---|
static CompressionType |
COMPRESSION_LZSS
The level of compression is the Book |
static CompressionType |
COMPRESSION_ZIP
The level of compression is the Book |
private String |
name
The name of the CompressionType |
private static int |
nextObj
|
private int |
obj
|
private static CompressionType[] |
VALUES
|
Constructor Summary | |
---|---|
CompressionType(String name)
Simple ctor |
Method Summary | |
---|---|
boolean |
equals(Object o)
Prevent subclasses from overriding canonical identity based Object methods |
static CompressionType |
fromInteger(int i)
Lookup method to convert from an integer |
static CompressionType |
fromString(String name)
Lookup method to convert from a String |
(package private) abstract AbstractBackend |
getBackend(SwordBookMetaData sbmd)
|
int |
hashCode()
Prevent subclasses from overriding canonical identity based Object methods |
(package private) abstract boolean |
isSupported()
Returns whether this compression is implemented at this time. |
(package private) Object |
readResolve()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CompressionType COMPRESSION_ZIP
public static final CompressionType COMPRESSION_LZSS
private String name
private static int nextObj
private final int obj
private static final CompressionType[] VALUES
Constructor Detail |
---|
public CompressionType(String name)
Method Detail |
---|
abstract boolean isSupported()
abstract AbstractBackend getBackend(SwordBookMetaData sbmd) throws BookException
BookException
public static CompressionType fromString(String name)
public static CompressionType fromInteger(int i)
public final boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public final int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object readResolve()
|
Copyright ยจ 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |