|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.FileState
public class FileState
The file state.
File.getState()
,
File.setState(Integer)
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static FileState |
getInstance(int value)
Returns an instance of the class with the given value. |
int |
getValue()
Returns the value. |
int |
hashCode()
|
boolean |
isCensored()
Returns the status, if the file is censored. |
boolean |
isCrcError()
Returns the status, if the file didn't match the official CRC. |
boolean |
isCrcOk()
Returns the status, if the file matched the official CRC. |
boolean |
isUncensored()
Returns the status, if the file is uncensored. |
boolean |
isVersion2()
Returns the status, if the file is version 2. |
boolean |
isVersion3()
Returns the status, if the file is version 3. |
boolean |
isVersion4()
Returns the status, if the file is version 4. |
boolean |
isVersion5()
Returns the status, if the file is version 5. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FileState getInstance(int value)
Returns an instance of the class with the given value.
Only the first 8 bits will be transfered, the rest is uninteresting.
value
- The value.
public boolean isCrcOk()
public boolean isCrcError()
public boolean isVersion2()
public boolean isVersion3()
public boolean isVersion4()
public boolean isVersion5()
public boolean isUncensored()
public boolean isCensored()
public int getValue()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |