|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.udp.mask.Mask
net.anidb.udp.mask.FileMask
public class FileMask
The file mask for the FILE
command.
With this mask you can specify which data fields are returned.
Field Summary | |
---|---|
static FileMask |
ALL
A mask with all fields set. |
Constructor Summary | |
---|---|
FileMask(boolean animeId,
boolean episodeId,
boolean groupId,
boolean mylistId,
boolean listOtherEpisodes,
boolean deprecated,
boolean state,
boolean size,
boolean ed2k,
boolean md5,
boolean sha1,
boolean crc32,
boolean quality,
boolean source,
boolean audioCodecList,
boolean audioBitrateList,
boolean videoCodec,
boolean videoBitrate,
boolean videoResolution,
boolean fileType,
boolean dubLanguage,
boolean subLanguage,
boolean lengthInSeconds,
boolean description,
boolean airedDate,
boolean aniDbFileName)
Creates a file mask. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getFlagCount()
Returns the count how many flags are set. |
java.lang.String |
getHexMask()
Returns the mask as a hex value. |
long |
getMask()
Returns the mask as a value. |
int |
hashCode()
|
boolean |
isAiredDate()
Returns the aired date. |
boolean |
isAniDbFileName()
Returns the AniDB file name. |
boolean |
isAnimeId()
Returns the anime Id. |
boolean |
isAudioBitrateList()
Returns the audio bitrate list. |
boolean |
isAudioCodecList()
Returns the audio codec list. |
boolean |
isCrc32()
Returns the crc32 hash. |
boolean |
isDeprecated()
Returns the 'is deprecated' flag. |
boolean |
isDescription()
Returns the description. |
boolean |
isDubLanguage()
Return the dub language. |
boolean |
isEd2k()
Returns the ed2k hash. |
boolean |
isEpisodeId()
Returns the episode Id. |
boolean |
isFileType()
Returns the file type. |
boolean |
isGroupId()
Returns the group Id. |
boolean |
isLengthInSeconds()
Returns the length in seconds. |
boolean |
isListOtherEpisodes()
Returns the list of other episodes. |
boolean |
isMd5()
Returns the md5 hash. |
boolean |
isMyListId()
Returns the MyList Id. |
boolean |
isQuality()
Returns the quality. |
boolean |
isSha1()
Returns the sha1 hash. |
boolean |
isSize()
Returns the size. |
boolean |
isSource()
Returns the source. |
boolean |
isState()
Returns the state. |
boolean |
isSubLanguage()
Returns the sub language. |
boolean |
isVideoBitrate()
Returns the video bitrate. |
boolean |
isVideoCodec()
Returns the video codec. |
boolean |
isVideoResolution()
Returns the video resolution. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final FileMask ALL
Constructor Detail |
---|
public FileMask(boolean animeId, boolean episodeId, boolean groupId, boolean mylistId, boolean listOtherEpisodes, boolean deprecated, boolean state, boolean size, boolean ed2k, boolean md5, boolean sha1, boolean crc32, boolean quality, boolean source, boolean audioCodecList, boolean audioBitrateList, boolean videoCodec, boolean videoBitrate, boolean videoResolution, boolean fileType, boolean dubLanguage, boolean subLanguage, boolean lengthInSeconds, boolean description, boolean airedDate, boolean aniDbFileName)
animeId
- The anime Id.episodeId
- The episode Id.groupId
- The group Id.mylistId
- The MyList Id.listOtherEpisodes
- The list of other episodes.deprecated
- The 'is deprecated' flag.state
- The state.size
- The size.ed2k
- The ed2k hash.md5
- The md5 hash.sha1
- The sha1 hash.crc32
- The crc32 hash.quality
- The quality.source
- The source.audioCodecList
- The audio codec list.audioBitrateList
- The audio bitrate list.videoCodec
- The video codec.videoBitrate
- The video bitrate.videoResolution
- The video resolution.fileType
- The file type.dubLanguage
- The dub language.subLanguage
- The sub language.lengthInSeconds
- The length in seconds.description
- The description.airedDate
- The aired date.aniDbFileName
- The AniDB file name.Method Detail |
---|
public boolean isAnimeId()
public boolean isEpisodeId()
public boolean isGroupId()
public boolean isMyListId()
public boolean isListOtherEpisodes()
public boolean isDeprecated()
public boolean isState()
public boolean isSize()
public boolean isEd2k()
public boolean isMd5()
public boolean isSha1()
public boolean isCrc32()
public boolean isQuality()
public boolean isSource()
public boolean isAudioCodecList()
public boolean isAudioBitrateList()
public boolean isVideoCodec()
public boolean isVideoBitrate()
public boolean isVideoResolution()
public boolean isFileType()
public boolean isDubLanguage()
public boolean isSubLanguage()
public boolean isLengthInSeconds()
public boolean isDescription()
public boolean isAiredDate()
public boolean isAniDbFileName()
public long getMask()
Mask
getMask
in class Mask
public java.lang.String getHexMask()
Mask
Returns the mask as a hex value.
The hex value will allways have the constant and full length.
getHexMask
in class Mask
public int getFlagCount()
Mask
getFlagCount
in class Mask
public int hashCode()
hashCode
in class Mask
public boolean equals(java.lang.Object obj)
equals
in class Mask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |