A B C D G H I L M O P R S T U V

A

Authenticate - class org.swhite.daap.Authenticate.
Authenticate creates a Client-DAAP-Authentication header necessary to connect to iTunes > 4.0 servers.
Authenticate(String) - Constructor for class org.swhite.daap.Authenticate
Constructs a new Authenticate with the specified URL.
authenticateTest() - Static method in class org.swhite.daap.tests.SimpleFileTest
 

B

BYTE_CHUNK - Static variable in class org.swhite.daap.Constants
 

C

CONTAINER_CHUNK - Static variable in class org.swhite.daap.Constants
 
Constants - class org.swhite.daap.Constants.
Created on Sunday March 07, 2004
Constants() - Constructor for class org.swhite.daap.Constants
 
ContentCode - class org.swhite.daap.ContentCode.
ContentCode gives a descriptive name, a shorthand daap name, and the type used for parsing.
ContentCode(byte[]) - Constructor for class org.swhite.daap.ContentCode
Constructor for ContentCode.
ContentCode(String, String, short) - Constructor for class org.swhite.daap.ContentCode
Constructor for ContentCode.
ContentCodes - class org.swhite.daap.ContentCodes.
Created on Tuesday May 20, 2003
ContentCodes() - Constructor for class org.swhite.daap.ContentCodes
Constructs a new ContentCodes.
ContentCodes(byte[]) - Constructor for class org.swhite.daap.ContentCodes
Constructs a new ContentCodes with the specified daap data.
ContentCodes(URL) - Constructor for class org.swhite.daap.ContentCodes
Constructs a new ContentCodes with the data from the specified URL.
ContentCodes(String, int) - Constructor for class org.swhite.daap.ContentCodes
Construcs a new ContentCodes with the data from the specified host and port
ContentCodes(String) - Constructor for class org.swhite.daap.ContentCodes
Construcs a new ContentCodes with the data from the specified host, with a default port of 3689
contentCodesTest() - Static method in class org.swhite.daap.tests.SimpleFileTest
 

D

DATE_CHUNK - Static variable in class org.swhite.daap.Constants
 
Database - class org.swhite.daap.Database.
Created on Friday Dec 26 2003.
Database(byte[]) - Constructor for class org.swhite.daap.Database
Constructs a new Database with the specified daap data.
Databases - class org.swhite.daap.Databases.
Created on Tuesday May 20, 2003
Databases(byte[]) - Constructor for class org.swhite.daap.Databases
Constructs a new Database Response with the specified daap data.
Databases(URL) - Constructor for class org.swhite.daap.Databases
Constructs a new DatabaseResponse with the data from the specified URL.
Databases(String, int, int) - Constructor for class org.swhite.daap.Databases
Constructs a new DatabaseResponse with a default port of 3689
Databases(String, int, int, int) - Constructor for class org.swhite.daap.Databases
Constructs a new DatabaseResponse
databasesTest() - Static method in class org.swhite.daap.tests.SimpleFileTest
 

G

getAlbum() - Method in class org.swhite.daap.Song
Returns the album name (daap tag asal).
getArtist() - Method in class org.swhite.daap.Song
Returns the artist name (daap tag asar).
getAuthenticationMethod() - Method in class org.swhite.daap.ServerInfoResponse
Returns the authentication method required by the server (daap tag msau)
getBeatsPerMinute() - Method in class org.swhite.daap.Song
Returns the beats per minute (daap tag asbt).
getBitRate() - Method in class org.swhite.daap.Song
Returns the bit rate (daap tag asbr).
getByteDataFromURL(URL) - Method in class org.swhite.daap.Helper
 
getComment() - Method in class org.swhite.daap.Song
Returns the comment (daap tag ascm).
getComposer() - Method in class org.swhite.daap.Song
Returns the composer's name (daap tag ascp).
getContainerCount() - Method in class org.swhite.daap.Database
Returns the number of containers/playlists (daap tag mctc)
getContentCodeName() - Method in class org.swhite.daap.ContentCode
Returns the descriptive name of the content code (daap tag mcna)
getContentCodeNumber() - Method in class org.swhite.daap.ContentCode
Returns the daap tag for the content code (daap tag mcnm)
getContentCodeType() - Method in class org.swhite.daap.ContentCode
Returns the type of the content code (daap tag mcty)
getContentCodeTypeFor(String) - Method in class org.swhite.daap.ContentCodes
Returns the content code type for the specified daap tag.
getDAAPProtocolVersion() - Method in class org.swhite.daap.ServerInfoResponse
Returns the daap protocol version (daap tag apro)
getDMAPProtocolVersion() - Method in class org.swhite.daap.ServerInfoResponse
Returns the dmap protocol version (daap tag mpro)
getDataKind() - Method in class org.swhite.daap.Song
Returns the data kind (daap tag asdk).
getDatabaseAtIndex(int) - Method in class org.swhite.daap.Databases
Returns the specified Database
getDatabases() - Method in class org.swhite.daap.Databases
Returns an ArrayList of all Databases
getDatabasesCount() - Method in class org.swhite.daap.Databases
Returns the number of databases
getDatabasesCount() - Method in class org.swhite.daap.ServerInfoResponse
Returns the database count (daap tag msdc)
getDateAdded() - Method in class org.swhite.daap.Song
Returns the date the song was added (daap tag asda).
getDateModified() - Method in class org.swhite.daap.Song
Returns the date the song was last modified (daap tag asdm).
getDescription() - Method in class org.swhite.daap.Song
Returns the description (daap tag asdt).
getDiscCount() - Method in class org.swhite.daap.Song
Returns the disc count (daap tag asdc).
getDiscNumber() - Method in class org.swhite.daap.Song
Returns the disc number (daap tag asdn).
getFormat() - Method in class org.swhite.daap.Song
Returns the song format (daap tag asfm).
getGenre() - Method in class org.swhite.daap.Song
Returns the genre (daap tag asgn).
getItemCount() - Method in class org.swhite.daap.Database
Returns the number of items in the database (daap tag mimc)
getItemCount() - Method in class org.swhite.daap.Playlist
Returns the number of items in the playlist (daap tag mimc)
getItemID() - Method in class org.swhite.daap.Database
Returns the itemid (daap tag miid)
getItemID() - Method in class org.swhite.daap.Playlist
Returns the item id (daap tag miid)
getItemID() - Method in class org.swhite.daap.Song
Returns the item id (daap tag miid).
getItemKind() - Method in class org.swhite.daap.Song
Returns the item kind (daap tag mikd).
getItemName() - Method in class org.swhite.daap.Database
Returns the item name (daap tag minm)
getItemName() - Method in class org.swhite.daap.Playlist
Returns the name of the playlist (daap tag minm)
getItemName() - Method in class org.swhite.daap.ServerInfoResponse
Returns the name of the daap server (daap tag minm)
getItemName() - Method in class org.swhite.daap.Song
Returns the song's name (daap tag minm).
getObjectForKey(String) - Method in class org.swhite.daap.Parser
Returns the value for the specified daap tag.
getPersistentID() - Method in class org.swhite.daap.Database
Returns the persistent id (daap tag mper)
getPersistentID() - Method in class org.swhite.daap.Playlist
Returns the persistent id (daap tag mper)
getPersistentID() - Method in class org.swhite.daap.Song
Returns the persistent id (daap tag mper).
getPlaylistAtIndex(int) - Method in class org.swhite.daap.Playlists
Returns the plalist at the specified index
getPlaylists() - Method in class org.swhite.daap.Playlists
Returns an ArrayList of all playlists
getPlaylistsCount() - Method in class org.swhite.daap.Playlists
Returns the number of playlists
getSampleRate() - Method in class org.swhite.daap.Song
Returns the sample rate in Hz (daap tag assr).
getServerRevision() - Method in class org.swhite.daap.UpdateResponse
Returns the server revision (daap tag musr)
getSessionID() - Method in class org.swhite.daap.LoginResponse
Returns the session id (daap tag mlid).
getSize() - Method in class org.swhite.daap.Song
Returns the size of the song in bytes (daap tag assz).
getSongAtIndex(int) - Method in class org.swhite.daap.Songs
Returns Song at the specified index
getSongs() - Method in class org.swhite.daap.Songs
Returns an ArrayList of all of the songs
getSongsCount() - Method in class org.swhite.daap.Songs
Returns the number of Songs
getTime() - Method in class org.swhite.daap.Song
Returns the length of the song in milliseconds (daap tag astm).
getTimeoutInterval() - Method in class org.swhite.daap.ServerInfoResponse
Returns the timeout interval in seconds (daap tag mstm)
getTrackCount() - Method in class org.swhite.daap.Song
Returns the track count (daap tag astc).
getTrackNumber() - Method in class org.swhite.daap.Song
Returns the track number (daap tag astn).
getUpdateType() - Method in class org.swhite.daap.Databases
Returns the update type (daap tag muty)
getUpdateType() - Method in class org.swhite.daap.Playlists
Returns the update type (daap tag muty)
getUpdateType() - Method in class org.swhite.daap.Songs
Returns the update type (daap tag muty)
getUserRating() - Method in class org.swhite.daap.Song
Returns the user rating (daap tag asur).
getYear() - Method in class org.swhite.daap.Song
Returns the year (daap tag asyr).

H

HEX_STR_CHUNK - Static variable in class org.swhite.daap.Constants
 
Helper - class org.swhite.daap.Helper.
Helper class used by the various daap classes to get an array of byte data from a specified URL.
Helper() - Constructor for class org.swhite.daap.Helper
 

I

INTEGER_CHUNK - Static variable in class org.swhite.daap.Constants
 
isDisabled() - Method in class org.swhite.daap.Song
Returns whether or not the song is disabled (daap tag asdb).
isPartOfCompilation() - Method in class org.swhite.daap.Song
Returns true if the song is part of a compilation (daap tag asco).
isSmartPlaylist() - Method in class org.swhite.daap.Playlist
Returns true if the playlist is a smart playlist (daap tag aeSP)
itemsTest() - Static method in class org.swhite.daap.tests.SimpleFileTest
 

L

LoginResponse - class org.swhite.daap.LoginResponse.
LoginResponse holds the data received from a /login request to a daap server.
LoginResponse(byte[]) - Constructor for class org.swhite.daap.LoginResponse
Constructs a new LoginResponse with the specified daap data.
LoginResponse(URL) - Constructor for class org.swhite.daap.LoginResponse
Constructs a new LoginResponse with the data from the specified URL.
LoginResponse(String) - Constructor for class org.swhite.daap.LoginResponse
Constructs a new LoginResponse with default port of 3689
LoginResponse(String, int) - Constructor for class org.swhite.daap.LoginResponse
Constructs a new LoginResponse
Logout - class org.swhite.daap.Logout.
Created on Thursday Jan 01, 2004
Logout(URL) - Constructor for class org.swhite.daap.Logout
Constructs a new Logout with the data from the specified URL.
Logout(String, int) - Constructor for class org.swhite.daap.Logout
Constructs a new Logout with default port of 3689
Logout(String, int, int) - Constructor for class org.swhite.daap.Logout
Constructs a new Logout
loginTest() - Static method in class org.swhite.daap.tests.SimpleFileTest
 
loginrequired() - Method in class org.swhite.daap.ServerInfoResponse
Returns the server info response code (daap tag msrv)

M

main(String[]) - Static method in class org.swhite.daap.tests.SimpleFileTest
 
main(String[]) - Static method in class org.swhite.daap.tests.SimpleURLTest
 

O

org.swhite.daap - package org.swhite.daap
 
org.swhite.daap.tests - package org.swhite.daap.tests
 

P

Parser - class org.swhite.daap.Parser.
Parser parses daap packets.
Parser() - Constructor for class org.swhite.daap.Parser
Constructs a new daap parser.
ParserException - exception org.swhite.daap.ParserException.
Created on Tuesday May 20, 2003
ParserException(String) - Constructor for class org.swhite.daap.ParserException
 
Playlist - class org.swhite.daap.Playlist.
Created on Tuesday May 20, 2003
Playlist(byte[]) - Constructor for class org.swhite.daap.Playlist
Constructs a new Playlist with the specified daap data.
Playlists - class org.swhite.daap.Playlists.
Created on Tuesday May 20, 2003
Playlists(byte[]) - Constructor for class org.swhite.daap.Playlists
Contructs a new Playlists with the specified daap data.
Playlists(URL) - Constructor for class org.swhite.daap.Playlists
Constructs a new Playlists with the data from the specified URL.
Playlists(String, int, int) - Constructor for class org.swhite.daap.Playlists
Constructs a new Playlists with a default port of 3689 and a default set of metadata
Playlists(String, int, int, int) - Constructor for class org.swhite.daap.Playlists
Constructs a new Playlists with a default set of metadata
Playlists(String, int, int, String) - Constructor for class org.swhite.daap.Playlists
Constructs a new Playlists with a default port of 3689
Playlists(String, int, int, int, String) - Constructor for class org.swhite.daap.Playlists
Constructs a new Playlists
parse(byte[]) - Method in class org.swhite.daap.Parser
Parses the specified daap data.

R

readFile(String) - Static method in class org.swhite.daap.tests.SimpleFileTest
 

S

SHORT_CHUNK - Static variable in class org.swhite.daap.Constants
 
STRING_CHUNK - Static variable in class org.swhite.daap.Constants
 
ServerInfoResponse - class org.swhite.daap.ServerInfoResponse.
ServerInfoResponse holds the data from the response of a /server-info request.
ServerInfoResponse(byte[]) - Constructor for class org.swhite.daap.ServerInfoResponse
Constructs a new ServerInfoResponse from the specified daap data.
ServerInfoResponse(URL) - Constructor for class org.swhite.daap.ServerInfoResponse
Constructs a new ServerInfoResponse with the data from the specified URL.
ServerInfoResponse(String) - Constructor for class org.swhite.daap.ServerInfoResponse
Constructs a new ServerInfoResponse with a default port of 3689
ServerInfoResponse(String, int) - Constructor for class org.swhite.daap.ServerInfoResponse
Constructs a new ServerInfoResponse
SimpleFileTest - class org.swhite.daap.tests.SimpleFileTest.
 
SimpleFileTest() - Constructor for class org.swhite.daap.tests.SimpleFileTest
 
SimpleURLTest - class org.swhite.daap.tests.SimpleURLTest.
 
SimpleURLTest() - Constructor for class org.swhite.daap.tests.SimpleURLTest
 
Song - class org.swhite.daap.Song.
Created on Tuesday May 20, 2003
Song(byte[]) - Constructor for class org.swhite.daap.Song
Constructor for Song.
Songs - class org.swhite.daap.Songs.
Created on Tuesday May 20, 2003
Songs(byte[]) - Constructor for class org.swhite.daap.Songs
Constructs a new Songs with the specified daap data.
Songs(URL) - Constructor for class org.swhite.daap.Songs
Constructs a new Songs with the data from the specified URL.
Songs(String, int, int, int) - Constructor for class org.swhite.daap.Songs
Constructs a new Songs.
Songs(String, int, int, int, int) - Constructor for class org.swhite.daap.Songs
Constructs a new Songs.
Songs(String, int, int, int, String) - Constructor for class org.swhite.daap.Songs
Constructs a new Songs.
Songs(String, int, int, int, int, String) - Constructor for class org.swhite.daap.Songs
Constructs a new Songs.
serverInfoTest() - Static method in class org.swhite.daap.tests.SimpleFileTest
 
setContentCodes(ContentCodes) - Method in class org.swhite.daap.Parser
Sets the contentCodes
songs - Variable in class org.swhite.daap.Songs
 
supportsAutologout() - Method in class org.swhite.daap.ServerInfoResponse
Returns true if the server supports auto logout (daap tag msal)
supportsBrowse() - Method in class org.swhite.daap.ServerInfoResponse
Returns true if the server supports browse (daap tag msbr)
supportsExtensions() - Method in class org.swhite.daap.ServerInfoResponse
Returns true if the server supports extensions (daap tag msex)
supportsIndex() - Method in class org.swhite.daap.ServerInfoResponse
Returns true if the servver supoprts index (daap tag msix)
supportsPersistentIDs() - Method in class org.swhite.daap.ServerInfoResponse
Returns true if the server supports persistent ids (daap tag mspi)
supportsQuery() - Method in class org.swhite.daap.ServerInfoResponse
Returns true if the server supports query (daap tag msqy)
supportsResolve() - Method in class org.swhite.daap.ServerInfoResponse
Returns true if the server supports resolve (daap tag msrs)
supportsUpdate() - Method in class org.swhite.daap.ServerInfoResponse
Returns true if the server supports update (daap tag msup)

T

toString() - Method in class org.swhite.daap.Authenticate
Returns the Authenticate string.
toString() - Method in class org.swhite.daap.ContentCode
 
toString() - Method in class org.swhite.daap.ContentCodes
 
toString() - Method in class org.swhite.daap.Database
 
toString() - Method in class org.swhite.daap.Databases
 
toString() - Method in class org.swhite.daap.LoginResponse
 
toString() - Method in class org.swhite.daap.Parser
 
toString() - Method in class org.swhite.daap.Playlist
 
toString() - Method in class org.swhite.daap.Playlists
 
toString() - Method in class org.swhite.daap.ServerInfoResponse
 
toString() - Method in class org.swhite.daap.Song
 
toString() - Method in class org.swhite.daap.Songs
 
toString() - Method in class org.swhite.daap.UpdateResponse
 

U

UpdateResponse - class org.swhite.daap.UpdateResponse.
Created on Tuesday May 20, 2003
UpdateResponse(byte[]) - Constructor for class org.swhite.daap.UpdateResponse
Constructs a new UpdateResponse with the specified daap data.
UpdateResponse(URL) - Constructor for class org.swhite.daap.UpdateResponse
Constructs a new UpdateResponse with the data from the specified URL.
UpdateResponse(String, int) - Constructor for class org.swhite.daap.UpdateResponse
Constructs a new UpdateResponse with a default port of 3689
UpdateResponse(String, int, int) - Constructor for class org.swhite.daap.UpdateResponse
Constructs a new UpdateResponse
updateTest() - Static method in class org.swhite.daap.tests.SimpleFileTest
 

V

VERSION_CHUNK - Static variable in class org.swhite.daap.Constants
 

A B C D G H I L M O P R S T U V