|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.swhite.daap.ContentCodes
Created on Tuesday May 20, 2003
| Constructor Summary | |
ContentCodes()
Constructs a new ContentCodes. |
|
ContentCodes(byte[] data)
Constructs a new ContentCodes with the specified daap data. |
|
ContentCodes(java.lang.String hostname)
Construcs a new ContentCodes with the data from the specified host, with a default port of 3689 |
|
ContentCodes(java.lang.String hostname,
int port)
Construcs a new ContentCodes with the data from the specified host and port |
|
ContentCodes(java.net.URL url)
Constructs a new ContentCodes with the data from the specified URL. |
|
| Method Summary | |
short |
getContentCodeTypeFor(java.lang.String tag)
Returns the content code type for the specified daap tag. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ContentCodes()
public ContentCodes(byte[] data)
throws ParserException
data - Raw daap data.
public ContentCodes(java.net.URL url)
throws java.io.IOException,
ParserException
url - URL containing the ContentCodes, e.g. http://localhost:3689/content-codes
public ContentCodes(java.lang.String hostname,
int port)
throws java.io.IOException,
java.net.MalformedURLException,
ParserException
hostname - The hostname of the daap serverport - The port number that the daap server is listening to (usually 3689)
public ContentCodes(java.lang.String hostname)
throws java.io.IOException,
java.net.MalformedURLException,
ParserException
hostname - The hostname of the daap server| Method Detail |
public short getContentCodeTypeFor(java.lang.String tag)
tag - The daap tag name (i.e. minm)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||