|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.swhite.daap.ContentCode
ContentCode gives a descriptive name, a shorthand daap name, and the type used for parsing. This informationall generally comes bundled in the response for /content-codes on a daap server. Created on Tuesday May 20, 2003
| Constructor Summary | |
ContentCode(byte[] data)
Constructor for ContentCode. |
|
ContentCode(java.lang.String contentcodenumber,
java.lang.String contentcodename,
short contentcodetype)
Constructor for ContentCode. |
|
| Method Summary | |
java.lang.String |
getContentCodeName()
Returns the descriptive name of the content code (daap tag mcna) |
java.lang.String |
getContentCodeNumber()
Returns the daap tag for the content code (daap tag mcnm) |
short |
getContentCodeType()
Returns the type of the content code (daap tag mcty) |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ContentCode(byte[] data)
throws ParserException
data - Raw daap data
public ContentCode(java.lang.String contentcodenumber,
java.lang.String contentcodename,
short contentcodetype)
contentcodenumber - The daap tag name of this content codecontentcodename - Descriptive name of this content codecontentcodetype - Content Code Type| Method Detail |
public java.lang.String getContentCodeNumber()
public java.lang.String getContentCodeName()
public short getContentCodeType()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||