A C D F G H I M N P R S T V W 

A

addAlbum(ChildInfo) - Method in class net.subclient.subsonic.mappings.Albums
Adds a new album to this albums array
addAlbum(ChildInfo) - Method in class net.subclient.subsonic.mappings.SearchResult
 
addArtist(FolderInfo) - Method in class net.subclient.subsonic.mappings.IndexInfo
 
addArtist(FolderInfo) - Method in class net.subclient.subsonic.mappings.SearchResult
 
addChannel(ChannelInfo) - Method in class net.subclient.subsonic.mappings.Podcasts
 
addChild(ChildInfo) - Method in class net.subclient.subsonic.mappings.Directory
Adds a child to this directory childs array
addEntry(ChildInfo) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
addEpisode(PodcastInfo) - Method in class net.subclient.subsonic.mappings.ChannelInfo
Adds an episode to this channel episodes array
addIndex(IndexInfo) - Method in class net.subclient.subsonic.mappings.Indexes
 
addMusicFolder(FolderInfo) - Method in class net.subclient.subsonic.mappings.MusicFolders
 
addPlaylist(PlaylistInfo) - Method in class net.subclient.subsonic.mappings.Playlists
 
addRandomSong(ChildInfo) - Method in class net.subclient.subsonic.mappings.RandomSongs
 
addSong(ChildInfo) - Method in class net.subclient.subsonic.mappings.SearchResult
 
AlbumRating - Class in net.subclient.subsonic.util
Steroes an album rating
AlbumRating(String) - Constructor for class net.subclient.subsonic.util.AlbumRating
Constructs a new AlbumRating for the specified album and rating = 0
AlbumRating(String, int) - Constructor for class net.subclient.subsonic.util.AlbumRating
Constructs a new AlbumRating for the specified album and rating
Albums - Class in net.subclient.subsonic.mappings
Java representation of the "albums" JSON Object.
Albums() - Constructor for class net.subclient.subsonic.mappings.Albums
Constructs a new Albums mapping with an empty albums array
AlbumsDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize an Albums object.
AlbumsDeserializer() - Constructor for class net.subclient.subsonic.deserializers.AlbumsDeserializer
 

C

ChannelInfo - Class in net.subclient.subsonic.mappings
Java representation of the "channel" JSON object.
ChannelInfo() - Constructor for class net.subclient.subsonic.mappings.ChannelInfo
Constructs a new ChannelInfo object with default values: { id : "-1", title : "-", status : "completed", description : "", url : "http://www.subclient.net", episode : [] }
ChannelInfoDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a ChannelInfo object.
ChannelInfoDeserializer() - Constructor for class net.subclient.subsonic.deserializers.ChannelInfoDeserializer
 
ChildInfo - Class in net.subclient.subsonic.mappings
Java representation of a child JSON object
ChildInfo() - Constructor for class net.subclient.subsonic.mappings.ChildInfo
Constructs a new ChildInfo object with default values { id : "-1", title : " - ", album : " - ", albumId : "-1", artist : " - ", artistId : "-1", parent : "-1", coverArt : "-1", isDir : false, isVideo : false, track : 0, size : 0, duration : 0, bitRate : 0, path : "", created : "", year : 0, genre : "", contentType : "", type : "", sufix : "", averageRating : 0, userRating : 0 }
CLIENT_MUST_UPGRADE - Static variable in exception net.subclient.subsonic.exceptions.SubsonicException
Incompatible Subsonic REST protocol version.
clone() - Method in class net.subclient.subsonic.mappings.ChannelInfo
 
clone() - Method in class net.subclient.subsonic.mappings.ChildInfo
 
clone() - Method in class net.subclient.subsonic.mappings.FolderInfo
 
clone() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
clone() - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
compareTo(Version) - Method in class net.subclient.subsonic.util.Version
Compares this Version with another Version, returning 1 if this Version is greater than provided one and -1 otherwise. 0 is returned if both Versions are equal.
CompatibilityException - Exception in net.subclient.subsonic.exceptions
Exception thrown when a user tries to call a method that is not compatible with the current server
CompatibilityException() - Constructor for exception net.subclient.subsonic.exceptions.CompatibilityException
Constructs a new CompatibilityException
Connection - Interface in net.subclient.subsonic
Connection interface defining all the methods needed in the Subsonic connection
createPlaylist(ArrayList<String>, String) - Method in interface net.subclient.subsonic.Connection
 
createPlaylist(ArrayList<String>, String) - Method in class net.subclient.subsonic.SubsonicConnection
Creates a new playlist with the specified songs list and name

D

DATA_NOT_FOUND - Static variable in exception net.subclient.subsonic.exceptions.SubsonicException
Requested information not found
decode(String) - Static method in class net.subclient.subsonic.util.HTMLUtils
Decodes all HTML entities in the input string nad returns it.
deletePlaylist(String) - Method in interface net.subclient.subsonic.Connection
 
deletePlaylist(String) - Method in class net.subclient.subsonic.SubsonicConnection
Deletes the specified playlist
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.AlbumsDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.ChannelInfoDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.DirectoryDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.GetAlbumsResponseDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.GetMusicFoldersResponseDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.GetPlaylistsResponseDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.GetPodcastsResponseDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.GetRandomSongsResponseDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.IndexesDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.IndexInfoDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.MusicFoldersDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.PlaylistInfoDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.PlaylistsDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.PodcastsDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.RandomSongsDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.SearchResponseDeserializer
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.subclient.subsonic.deserializers.SearchResultDeserializer
 
Directory - Class in net.subclient.subsonic.mappings
Java representation of the "directory" JSON object
Directory() - Constructor for class net.subclient.subsonic.mappings.Directory
Constructs a new Directory object with default values { id : "-1", name : "-", childsArray : [] }
DirectoryDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a Directory object.
DirectoryDeserializer() - Constructor for class net.subclient.subsonic.deserializers.DirectoryDeserializer
 
download(String) - Method in interface net.subclient.subsonic.Connection
 
download(String) - Method in class net.subclient.subsonic.SubsonicConnection
Gets a stream of an element (directory or song) to be downloaded.

F

FolderInfo - Class in net.subclient.subsonic.mappings
Java representation of a folder JSON object
FolderInfo() - Constructor for class net.subclient.subsonic.mappings.FolderInfo
Constructs a new FolderInfo object with default values: { id : "-1", name : "-" }

G

GENERIC_ERROR - Static variable in exception net.subclient.subsonic.exceptions.SubsonicException
Generic Subsonic server communication error
getAlbum() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child album name
getAlbumId() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child album ID
getAlbumId() - Method in class net.subclient.subsonic.util.AlbumRating
 
getAlbums() - Method in class net.subclient.subsonic.responses.GetAlbumsResponse
 
getAlbumsArray() - Method in class net.subclient.subsonic.mappings.Albums
Returns this albums array
getAlbumsArray() - Method in class net.subclient.subsonic.mappings.SearchResult
 
getAlbumsList(GetAlbumsType) - Method in interface net.subclient.subsonic.Connection
 
getAlbumsList(GetAlbumsType, int) - Method in interface net.subclient.subsonic.Connection
 
getAlbumsList(GetAlbumsType, int, int) - Method in interface net.subclient.subsonic.Connection
 
getAlbumsList(GetAlbumsType) - Method in class net.subclient.subsonic.SubsonicConnection
Gets a list of 10 albums of the specified type
getAlbumsList(GetAlbumsType, int) - Method in class net.subclient.subsonic.SubsonicConnection
Gets the defined number of albums of the specified type
getAlbumsList(GetAlbumsType, int, int) - Method in class net.subclient.subsonic.SubsonicConnection
Gets the defined number of albums of the specified type
GetAlbumsResponse - Class in net.subclient.subsonic.responses
Object returned on getAlbumsList calls
GetAlbumsResponse() - Constructor for class net.subclient.subsonic.responses.GetAlbumsResponse
Constructs a new GetAlbumsResponse with a default constructed Albums object
GetAlbumsResponseDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a GetAlbumsResponse object.
GetAlbumsResponseDeserializer() - Constructor for class net.subclient.subsonic.deserializers.GetAlbumsResponseDeserializer
 
GetAlbumsType - Enum in net.subclient.subsonic.util
Valid types for getAlbumsList method in SubsonicConnection class
getApiVersion() - Method in class net.subclient.subsonic.SubsonicConnection
Returns current server API version
getArtist() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child artist name
getArtistId() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child artist ID
getArtistsArray() - Method in class net.subclient.subsonic.mappings.IndexInfo
 
getArtistsArray() - Method in class net.subclient.subsonic.mappings.SearchResult
 
getAverageRating() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child average rating
getBitRate() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child bitrate in Kbs
getChannel() - Method in class net.subclient.subsonic.responses.GetPodcastResponse
 
getChannelsArray() - Method in class net.subclient.subsonic.mappings.Podcasts
 
getChildsArray() - Method in class net.subclient.subsonic.mappings.Directory
 
getCode() - Method in exception net.subclient.subsonic.exceptions.SubsonicException
Returns this exception error code
getComment() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
getContentType() - Method in exception net.subclient.subsonic.exceptions.InvalidResponseException
Returns this exception content-type
getContentType() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child content-type
getCoverArt(String) - Method in interface net.subclient.subsonic.Connection
 
getCoverArt(String, int) - Method in interface net.subclient.subsonic.Connection
 
getCoverArt() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child cover art id
getCoverArt(String) - Method in class net.subclient.subsonic.SubsonicConnection
Returns a cover art specified by the provided ID and a size of 100x100 pixels
getCoverArt(String, int) - Method in class net.subclient.subsonic.SubsonicConnection
Returns a cover art defined by the provided ID and a specified size
getCreationDate() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child creation date
getCreationDate() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
getDate() - Method in class net.subclient.subsonic.mappings.SubsonicLicense
 
getDescription() - Method in class net.subclient.subsonic.mappings.ChannelInfo
Returns this channel description
getDescription() - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
getDirectory() - Method in class net.subclient.subsonic.responses.GetMusicDirectoryResponse
 
getDuration() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child duration in seconds
getDuration() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
getEmail() - Method in class net.subclient.subsonic.mappings.SubsonicLicense
 
getEntriesArray() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
getEpisodesArray() - Method in class net.subclient.subsonic.mappings.ChannelInfo
Returns the array of episodes of this channel
getGenre() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child genre
getId() - Method in class net.subclient.subsonic.mappings.ChannelInfo
Returns this channel id
getId() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child ID
getId() - Method in class net.subclient.subsonic.mappings.Directory
 
getId() - Method in class net.subclient.subsonic.mappings.FolderInfo
 
getId() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
getIndexes() - Method in interface net.subclient.subsonic.Connection
 
getIndexes(String) - Method in interface net.subclient.subsonic.Connection
 
getIndexes(long) - Method in interface net.subclient.subsonic.Connection
 
getIndexes() - Method in class net.subclient.subsonic.responses.GetIndexesResponse
 
getIndexes() - Method in class net.subclient.subsonic.SubsonicConnection
Gets a list of all the directories (indexes) in the root of all music folders
getIndexes(String) - Method in class net.subclient.subsonic.SubsonicConnection
Gets a list of all the directories (indexes) in the root of the specified music folder
getIndexes(long) - Method in class net.subclient.subsonic.SubsonicConnection
Gets a list of all the directories (indexes) in the root of all music folders that has been modified after the specified timestamp
getIndexes(String, long) - Method in class net.subclient.subsonic.SubsonicConnection
Gets a list of all the directories (indexes) in the root of the specified music folder that has been modified after the specified timestamp
getIndexesArray() - Method in class net.subclient.subsonic.mappings.Indexes
 
GetIndexesResponse - Class in net.subclient.subsonic.responses
Object returned on getIndexes calls
GetIndexesResponse() - Constructor for class net.subclient.subsonic.responses.GetIndexesResponse
Constructs a new GetIndexesResponse with a default constructed Indexes object
getKey() - Method in class net.subclient.subsonic.mappings.SubsonicLicense
 
getKey() - Method in class net.subclient.subsonic.util.HttpParameter
Return this parameter's key
getLastModified() - Method in class net.subclient.subsonic.mappings.Indexes
 
getLicense() - Method in interface net.subclient.subsonic.Connection
 
getLicense() - Method in class net.subclient.subsonic.SubsonicConnection
Gets detailed information about current server license
GetLicenseResponse - Class in net.subclient.subsonic.responses
Object returned on getLicense calls
GetLicenseResponse() - Constructor for class net.subclient.subsonic.responses.GetLicenseResponse
Constructs a new GetLicenseResponse with a default constructed SubsonicLicense
getMajorNumber() - Method in class net.subclient.subsonic.util.Version
 
getMessage() - Method in exception net.subclient.subsonic.exceptions.SubsonicException
Returns this exception error message
getMinorNumber() - Method in class net.subclient.subsonic.util.Version
 
getMinVersion() - Method in enum net.subclient.subsonic.util.GetAlbumsType
 
getMusicDirectory(String) - Method in interface net.subclient.subsonic.Connection
 
getMusicDirectory(String) - Method in class net.subclient.subsonic.SubsonicConnection
Returns all the albums and songs in the specified directory
GetMusicDirectoryResponse - Class in net.subclient.subsonic.responses
Object returned on getMusicDirectory calls
GetMusicDirectoryResponse() - Constructor for class net.subclient.subsonic.responses.GetMusicDirectoryResponse
Constructs a new GetMusicDirectoryResponse with a default constructed Directory object
getMusicFolders() - Method in interface net.subclient.subsonic.Connection
 
getMusicFolders() - Method in class net.subclient.subsonic.responses.GetMusicFoldersResponse
 
getMusicFolders() - Method in class net.subclient.subsonic.SubsonicConnection
Gets the available music folders list
getMusicFoldersArray() - Method in class net.subclient.subsonic.mappings.MusicFolders
 
GetMusicFoldersResponse - Class in net.subclient.subsonic.responses
Object returned on getMusicFolders calls
GetMusicFoldersResponse() - Constructor for class net.subclient.subsonic.responses.GetMusicFoldersResponse
Constructs a new GetMusicFoldersResponse with a default constructed MusicFolders object
GetMusicFoldersResponseDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a GetMusicFoldersResponse object.
GetMusicFoldersResponseDeserializer() - Constructor for class net.subclient.subsonic.deserializers.GetMusicFoldersResponseDeserializer
 
getName() - Method in class net.subclient.subsonic.mappings.Directory
 
getName() - Method in class net.subclient.subsonic.mappings.FolderInfo
 
getName() - Method in class net.subclient.subsonic.mappings.IndexInfo
 
getName() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
getOwner() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
getParent() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child parent ID
getPath() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child path
getPlaylist(String) - Method in interface net.subclient.subsonic.Connection
 
getPlaylist() - Method in class net.subclient.subsonic.responses.GetPlaylistResponse
 
getPlaylist(String) - Method in class net.subclient.subsonic.SubsonicConnection
Gets information about a specific playlist including songs list on that playlist
GetPlaylistResponse - Class in net.subclient.subsonic.responses
Object returned on getPlaylist calls
GetPlaylistResponse() - Constructor for class net.subclient.subsonic.responses.GetPlaylistResponse
Constructs a new GetPlaylistResponse with a default constructed PlaylistInfo object
getPlaylists() - Method in interface net.subclient.subsonic.Connection
 
getPlaylists() - Method in class net.subclient.subsonic.responses.GetPlaylistsResponse
 
getPlaylists() - Method in class net.subclient.subsonic.SubsonicConnection
Gets the playlists available for the current user
getPlaylistsArray() - Method in class net.subclient.subsonic.mappings.Playlists
 
GetPlaylistsResponse - Class in net.subclient.subsonic.responses
Object returned on getPlaylists calls
GetPlaylistsResponse() - Constructor for class net.subclient.subsonic.responses.GetPlaylistsResponse
Constructs a new GetPlaylistsResponse with a default Playlists object
GetPlaylistsResponseDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a GetPlaylistsResponse object.
GetPlaylistsResponseDeserializer() - Constructor for class net.subclient.subsonic.deserializers.GetPlaylistsResponseDeserializer
 
getPodcastEpisodes(String) - Method in interface net.subclient.subsonic.Connection
 
getPodcastEpisodes(String) - Method in class net.subclient.subsonic.SubsonicConnection
Gets the episodes of the specified podcast
GetPodcastResponse - Class in net.subclient.subsonic.responses
Object returned on getPodcastEpisodes calls
GetPodcastResponse() - Constructor for class net.subclient.subsonic.responses.GetPodcastResponse
Constructs a new GetPodcastResponse with a default constructed ChannelInfo object
getPodcasts() - Method in interface net.subclient.subsonic.Connection
 
getPodcasts() - Method in class net.subclient.subsonic.responses.GetPodcastsResponse
 
getPodcasts() - Method in class net.subclient.subsonic.SubsonicConnection
Gets the list of podcasts in the server
GetPodcastsResponse - Class in net.subclient.subsonic.responses
Object returned on getPodcasts calls
GetPodcastsResponse() - Constructor for class net.subclient.subsonic.responses.GetPodcastsResponse
Constructs a new GetPodcastsResponse with a default constructed Podcasts object
GetPodcastsResponseDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a GetPodcastsResponse object.
GetPodcastsResponseDeserializer() - Constructor for class net.subclient.subsonic.deserializers.GetPodcastsResponseDeserializer
 
getPublishDate() - Method in class net.subclient.subsonic.mappings.ChannelInfo
Returns this channel publish date, wich is its newest episode publish date
getPublishDate() - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
getRandomSongs() - Method in interface net.subclient.subsonic.Connection
 
getRandomSongs(String) - Method in interface net.subclient.subsonic.Connection
 
getRandomSongs(String, int) - Method in interface net.subclient.subsonic.Connection
 
getRandomSongs() - Method in class net.subclient.subsonic.responses.GetRandomSongsResponse
 
getRandomSongs() - Method in class net.subclient.subsonic.SubsonicConnection
Gets a list of 10 random songs in all music folders
getRandomSongs(String) - Method in class net.subclient.subsonic.SubsonicConnection
Gets a list of 10 random songs in a specific music folder
getRandomSongs(String, int) - Method in class net.subclient.subsonic.SubsonicConnection
Gets a defined number of random songs in a specific music folder
getRandomSongsArray() - Method in class net.subclient.subsonic.mappings.RandomSongs
 
GetRandomSongsResponse - Class in net.subclient.subsonic.responses
Object returned on getRandomSongs calls
GetRandomSongsResponse() - Constructor for class net.subclient.subsonic.responses.GetRandomSongsResponse
Constructs a new GetRandomSongsResponse with a default constructed RandomSongs object
GetRandomSongsResponseDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a GetRandomSongsResponse object.
GetRandomSongsResponseDeserializer() - Constructor for class net.subclient.subsonic.deserializers.GetRandomSongsResponseDeserializer
 
getRating() - Method in class net.subclient.subsonic.util.AlbumRating
 
getRevisionNumber() - Method in class net.subclient.subsonic.util.Version
 
getSearchResults() - Method in class net.subclient.subsonic.responses.SearchResponse
 
getSize() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child size in bytes
getSongCount() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
getSongsArray() - Method in class net.subclient.subsonic.mappings.SearchResult
 
getStatus() - Method in class net.subclient.subsonic.mappings.ChannelInfo
Returns this channel status
getStatus() - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
getStatus() - Method in class net.subclient.subsonic.responses.SubsonicResponse
 
getStreamId() - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
getStreamURL(String) - Method in interface net.subclient.subsonic.Connection
 
getStreamURL(String, int) - Method in interface net.subclient.subsonic.Connection
 
getStreamURL(String) - Method in class net.subclient.subsonic.SubsonicConnection
Returns a valid URL for streaming a song from the current Subsonic server specified by its ID
getStreamURL(String, int) - Method in class net.subclient.subsonic.SubsonicConnection
Returns a valid URL for streaming a song from the current Subsonic server specified by its ID
getSubsonicLicense() - Method in class net.subclient.subsonic.responses.GetLicenseResponse
 
getSuffix() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child suffix
getTitle() - Method in class net.subclient.subsonic.mappings.ChannelInfo
Returns this channel title
getTitle() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child title
getTrack() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child track number
getType() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child type
getUrl() - Method in class net.subclient.subsonic.mappings.ChannelInfo
Returns this channel url as java.net.URL object.
getUserRating() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child current user rating
getValue() - Method in class net.subclient.subsonic.util.HttpParameter
Returns this parameter's value
getVersion() - Method in class net.subclient.subsonic.responses.SubsonicResponse
 
getYear() - Method in class net.subclient.subsonic.mappings.ChildInfo
Returns this child year

H

HTMLUtils - Class in net.subclient.subsonic.util
Handles HTML entities decoding
HTMLUtils() - Constructor for class net.subclient.subsonic.util.HTMLUtils
 
HttpParameter - Class in net.subclient.subsonic.util
Creates a key-value pair whose string representation is key=value.
HttpParameter(String, String) - Constructor for class net.subclient.subsonic.util.HttpParameter
Constructs a new parameter with the specified key and value

I

id - Variable in class net.subclient.subsonic.mappings.FolderInfo
ID of this folder
Indexes - Class in net.subclient.subsonic.mappings
Java representation of the "indexes" JSON object
Indexes() - Constructor for class net.subclient.subsonic.mappings.Indexes
Constructs a new Indexes object with default values: { indexesArray : [], lastModified : 0 }
IndexesDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a Indexes object.
IndexesDeserializer() - Constructor for class net.subclient.subsonic.deserializers.IndexesDeserializer
 
IndexInfo - Class in net.subclient.subsonic.mappings
Java representation of an index JSON object
IndexInfo() - Constructor for class net.subclient.subsonic.mappings.IndexInfo
Constructs a new IndexInfo object with default values: { name : "-", artistsArray : [] }
IndexInfoDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a IndexInfo object.
IndexInfoDeserializer() - Constructor for class net.subclient.subsonic.deserializers.IndexInfoDeserializer
 
InvalidResponseException - Exception in net.subclient.subsonic.exceptions
Exception thrown whenever a Subsonic returns an invalid content type or a non parseable response
InvalidResponseException(String) - Constructor for exception net.subclient.subsonic.exceptions.InvalidResponseException
Constructs a new InvalidResponseException with the deffined content-type
isDir() - Method in class net.subclient.subsonic.mappings.ChildInfo
Defines if this child is a directory
isPublic() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
isValid() - Method in class net.subclient.subsonic.mappings.SubsonicLicense
 
isVideo() - Method in class net.subclient.subsonic.mappings.ChildInfo
Defines if this child is a video

M

MISSING_PARAMETER - Static variable in exception net.subclient.subsonic.exceptions.SubsonicException
Some mandatory parameter is missing
MusicFolders - Class in net.subclient.subsonic.mappings
Java representation of a musicFolders JSON Object
MusicFolders() - Constructor for class net.subclient.subsonic.mappings.MusicFolders
Constructs a new MusicFolders object with default values { musicFoldersArray : [] }
MusicFoldersDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a MusicFolders object.
MusicFoldersDeserializer() - Constructor for class net.subclient.subsonic.deserializers.MusicFoldersDeserializer
 

N

name - Variable in class net.subclient.subsonic.mappings.FolderInfo
Name of this folder
net.subclient.subsonic - package net.subclient.subsonic
 
net.subclient.subsonic.deserializers - package net.subclient.subsonic.deserializers
 
net.subclient.subsonic.exceptions - package net.subclient.subsonic.exceptions
 
net.subclient.subsonic.mappings - package net.subclient.subsonic.mappings
 
net.subclient.subsonic.responses - package net.subclient.subsonic.responses
 
net.subclient.subsonic.util - package net.subclient.subsonic.util
 

P

parseVersion(String) - Static method in class net.subclient.subsonic.util.Version
Constructs a Version object from the formatted version string provided
PERMISSION_DENIED - Static variable in exception net.subclient.subsonic.exceptions.SubsonicException
Current user attempted to perform an action for which he has no permission
ping() - Method in interface net.subclient.subsonic.Connection
 
ping() - Method in class net.subclient.subsonic.SubsonicConnection
Checks connectivity with current Subsonic server.
PlaylistInfo - Class in net.subclient.subsonic.mappings
Java representation of a playlist JSON object
PlaylistInfo() - Constructor for class net.subclient.subsonic.mappings.PlaylistInfo
Constructs a new PlaylistInfo object with default values { id : "-1", duration : 0, songCount : 0, created : "", name : "-", owner : "", comment : "", isPublic : false, entriesArray : [] }
PlaylistInfoDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a PlaylistInfo object.
PlaylistInfoDeserializer() - Constructor for class net.subclient.subsonic.deserializers.PlaylistInfoDeserializer
 
Playlists - Class in net.subclient.subsonic.mappings
Java representation of the "playlists" JSON object
Playlists() - Constructor for class net.subclient.subsonic.mappings.Playlists
Constructs a new Playlists object with default values { playlistsArray : [] }
PlaylistsDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a Playlists object.
PlaylistsDeserializer() - Constructor for class net.subclient.subsonic.deserializers.PlaylistsDeserializer
 
PodcastInfo - Class in net.subclient.subsonic.mappings
 
PodcastInfo() - Constructor for class net.subclient.subsonic.mappings.PodcastInfo
Constructs a new ChildInfo object with default values { id : "-1", title : " - ", album : " - ", albumId : "-1", artist : " - ", artistId : "-1", parent : "-1", coverArt : "-1", isDir : false, isVideo : false, track : 0, size : 0, duration : 0, bitRate : 0, path : "", created : "", year : 0, genre : "", contentType : "", type : "", sufix : "", averageRating : 0, userRating : 0, streamId : "-1", status : "completed", description : "", publishDate : "1970-01-01 00:00:00.0" }
Podcasts - Class in net.subclient.subsonic.mappings
Java representation of the "podcasts" JSON Object.
Podcasts() - Constructor for class net.subclient.subsonic.mappings.Podcasts
Constructs a new Podcasts mapping with an empty channels array
PodcastsDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a Podcasts object.
PodcastsDeserializer() - Constructor for class net.subclient.subsonic.deserializers.PodcastsDeserializer
 

R

RandomSongs - Class in net.subclient.subsonic.mappings
Java representation of the "randomSongs" JSON Object.
RandomSongs() - Constructor for class net.subclient.subsonic.mappings.RandomSongs
Constructs a new RandomSongs object with an empty songs array
RandomSongsDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize an RandomSongs object.
RandomSongsDeserializer() - Constructor for class net.subclient.subsonic.deserializers.RandomSongsDeserializer
 

S

search(String) - Method in interface net.subclient.subsonic.Connection
 
search(String, int) - Method in interface net.subclient.subsonic.Connection
 
search(String, int, int) - Method in interface net.subclient.subsonic.Connection
 
search(String) - Method in class net.subclient.subsonic.SubsonicConnection
Gets a list of max 20 artists, albums and songs that meet the specified query.
search(String, int) - Method in class net.subclient.subsonic.SubsonicConnection
Gets the specified number of artists, albums and songs that meet the specified query.
search(String, int, int) - Method in class net.subclient.subsonic.SubsonicConnection
Gets the specified number of artists, albums and songs that meet the specified query.
SearchResponse - Class in net.subclient.subsonic.responses
Object returned on search calls
SearchResponse() - Constructor for class net.subclient.subsonic.responses.SearchResponse
Constructs a new SearchResponse with a default constructed SearchResponse object
SearchResponseDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a SearchResponse object.
SearchResponseDeserializer() - Constructor for class net.subclient.subsonic.deserializers.SearchResponseDeserializer
 
SearchResult - Class in net.subclient.subsonic.mappings
Java representation of the "searchResult" JSON Object.
SearchResult() - Constructor for class net.subclient.subsonic.mappings.SearchResult
Sonstructs a new SearchResult object with default values: { songsArray : [], albumsArray : [], artistsArray : [] }
SearchResultDeserializer - Class in net.subclient.subsonic.deserializers
This class specifies how to deserialize a Podcasts object.
SearchResultDeserializer() - Constructor for class net.subclient.subsonic.deserializers.SearchResultDeserializer
 
SERVER_MUST_UPGRADE - Static variable in exception net.subclient.subsonic.exceptions.SubsonicException
Incompatible Subsonic REST protocol version.
setAlbum(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child album name
setAlbumId(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child album ID
setAlbumId(String) - Method in class net.subclient.subsonic.util.AlbumRating
 
setAlbums(Albums) - Method in class net.subclient.subsonic.responses.GetAlbumsResponse
 
setAlbumsArray(ArrayList<ChildInfo>) - Method in class net.subclient.subsonic.mappings.Albums
Sets this albums array
setAlbumsArray(ArrayList<ChildInfo>) - Method in class net.subclient.subsonic.mappings.SearchResult
 
setArtist(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child artist name
setArtistId(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child artist ID
setArtistsArray(ArrayList<FolderInfo>) - Method in class net.subclient.subsonic.mappings.IndexInfo
 
setArtistsArray(ArrayList<FolderInfo>) - Method in class net.subclient.subsonic.mappings.SearchResult
 
setAverageRating(float) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child average rating
setBitRate(int) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child bitrate in Kbs
setChannel(ChannelInfo) - Method in class net.subclient.subsonic.responses.GetPodcastResponse
 
setChannelsArray(ArrayList<ChannelInfo>) - Method in class net.subclient.subsonic.mappings.Podcasts
 
setChildsArray(ArrayList<ChildInfo>) - Method in class net.subclient.subsonic.mappings.Directory
Sets this directory childs array
setComment(String) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setContentType(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child content-type
setCoverArt(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child cover art ID
setCreationDate(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child creation date
setCreationDate(String) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setDate(String) - Method in class net.subclient.subsonic.mappings.SubsonicLicense
 
setDescription(String) - Method in class net.subclient.subsonic.mappings.ChannelInfo
Sets this channel description
setDescription(String) - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
setDirectory(Directory) - Method in class net.subclient.subsonic.responses.GetMusicDirectoryResponse
 
setDuration(int) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child duration in seconds
setDuration(int) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setEmail(String) - Method in class net.subclient.subsonic.mappings.SubsonicLicense
 
setEntriesArray(ArrayList<ChildInfo>) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setEpisodesArray(ArrayList<PodcastInfo>) - Method in class net.subclient.subsonic.mappings.ChannelInfo
Sets this channel episodes array
setGenre(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child genre
setId(String) - Method in class net.subclient.subsonic.mappings.ChannelInfo
Sets this channel id
setId(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child ID
setId(String) - Method in class net.subclient.subsonic.mappings.Directory
Sets this directory id
setId(String) - Method in class net.subclient.subsonic.mappings.FolderInfo
 
setId(String) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setIndexes(Indexes) - Method in class net.subclient.subsonic.responses.GetIndexesResponse
 
setIndexesArray(ArrayList<IndexInfo>) - Method in class net.subclient.subsonic.mappings.Indexes
 
setIsDir(boolean) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets if this child is a directory
setIsValid(boolean) - Method in class net.subclient.subsonic.mappings.SubsonicLicense
 
setIsVideo(boolean) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets if this child is a video
setKey(String) - Method in class net.subclient.subsonic.mappings.SubsonicLicense
 
setKey(String) - Method in class net.subclient.subsonic.util.HttpParameter
Sets this parameter's key
setLastModified(long) - Method in class net.subclient.subsonic.mappings.Indexes
 
setMusicFolders(MusicFolders) - Method in class net.subclient.subsonic.responses.GetMusicFoldersResponse
 
setMusicFoldersArray(ArrayList<FolderInfo>) - Method in class net.subclient.subsonic.mappings.MusicFolders
 
setName(String) - Method in class net.subclient.subsonic.mappings.Directory
Sets this directory name
setName(String) - Method in class net.subclient.subsonic.mappings.FolderInfo
 
setName(String) - Method in class net.subclient.subsonic.mappings.IndexInfo
 
setName(String) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setOwner(String) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setParent(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child parent ID
setPath(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child path
setPlaylist(PlaylistInfo) - Method in class net.subclient.subsonic.responses.GetPlaylistResponse
 
setPlaylists(Playlists) - Method in class net.subclient.subsonic.responses.GetPlaylistsResponse
 
setPlaylistsArray(ArrayList<PlaylistInfo>) - Method in class net.subclient.subsonic.mappings.Playlists
 
setPodcasts(Podcasts) - Method in class net.subclient.subsonic.responses.GetPodcastsResponse
 
setPublic(boolean) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setPublishDate(String) - Method in class net.subclient.subsonic.mappings.ChannelInfo
Sets this channel publish date
setPublishDate(String) - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
setRandomSongs(RandomSongs) - Method in class net.subclient.subsonic.responses.GetRandomSongsResponse
 
setRandomSongsArray(ArrayList<ChildInfo>) - Method in class net.subclient.subsonic.mappings.RandomSongs
 
setRating(AlbumRating) - Method in interface net.subclient.subsonic.Connection
 
setRating(AlbumRating) - Method in class net.subclient.subsonic.SubsonicConnection
Sets an album rating
setRating(int) - Method in class net.subclient.subsonic.util.AlbumRating
 
setSearchResult(SearchResult) - Method in class net.subclient.subsonic.responses.SearchResponse
 
setSize(long) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child size in bytes
setSongCount(int) - Method in class net.subclient.subsonic.mappings.PlaylistInfo
 
setSongsArray(ArrayList<ChildInfo>) - Method in class net.subclient.subsonic.mappings.SearchResult
 
setStatus(String) - Method in class net.subclient.subsonic.mappings.ChannelInfo
Sets this channel status
setStatus(String) - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
setStatus(String) - Method in class net.subclient.subsonic.responses.SubsonicResponse
 
setStreamId(String) - Method in class net.subclient.subsonic.mappings.PodcastInfo
 
setSubsonicLicense(SubsonicLicense) - Method in class net.subclient.subsonic.responses.GetLicenseResponse
 
setSuffix(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child cuffix
setTitle(String) - Method in class net.subclient.subsonic.mappings.ChannelInfo
Sets this channel title
setTitle(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child title
setTrack(int) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child track number
setType(String) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child type
setUrl(URL) - Method in class net.subclient.subsonic.mappings.ChannelInfo
Sets this channel url as java.net.URL object
setUserRating(int) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child current user rating
setValue(String) - Method in class net.subclient.subsonic.util.HttpParameter
Sets this parameter's value
setVersion(String) - Method in class net.subclient.subsonic.responses.SubsonicResponse
 
setVersion(Version) - Method in class net.subclient.subsonic.responses.SubsonicResponse
 
setYear(int) - Method in class net.subclient.subsonic.mappings.ChildInfo
Sets this child year
STATUS_FAILED - Static variable in class net.subclient.subsonic.responses.SubsonicResponse
Status returned on any failed response
STATUS_OK - Static variable in class net.subclient.subsonic.responses.SubsonicResponse
Status returned on any successfull response
stream(String) - Method in interface net.subclient.subsonic.Connection
 
stream(String, int) - Method in interface net.subclient.subsonic.Connection
 
stream(String) - Method in class net.subclient.subsonic.SubsonicConnection
Gets the stream of a song to be played.
stream(String, int) - Method in class net.subclient.subsonic.SubsonicConnection
Gets the stream of a song to be played.
SubsonicConnection - Class in net.subclient.subsonic
Connection interface between a Java application and Subsonic API
SubsonicConnection(URL, String, String) - Constructor for class net.subclient.subsonic.SubsonicConnection
Constructs a SubsonicConnection to the specified server URL using the provided username and password.
SubsonicConnection(URL, String, String, boolean) - Constructor for class net.subclient.subsonic.SubsonicConnection
Constructs a SubsonicConnection to the specified server URL using the provided username and password.
SubsonicConnection(URL, String, String, String) - Constructor for class net.subclient.subsonic.SubsonicConnection
Constructs a SubsonicConnection to the specified server URL using the provided username, password and client identifier.
SubsonicConnection(URL, String, String, String, boolean) - Constructor for class net.subclient.subsonic.SubsonicConnection
Constructs a SubsonicConnection to the specified server URL using the provided username, password and client identifier.
SubsonicException - Exception in net.subclient.subsonic.exceptions
Exception thrown whenever a Subsonic API call produces an error
SubsonicException() - Constructor for exception net.subclient.subsonic.exceptions.SubsonicException
Constructs a new SubsonicException with the GENERIC_ERROR code
SubsonicException(int) - Constructor for exception net.subclient.subsonic.exceptions.SubsonicException
Constructs a new SubsonicException with the specified code
SubsonicException(int, String) - Constructor for exception net.subclient.subsonic.exceptions.SubsonicException
Constructs a new SubsonicException with the specified code and message
SubsonicLicense - Class in net.subclient.subsonic.mappings
Java representation of the Subsonic license JSON Object
SubsonicLicense() - Constructor for class net.subclient.subsonic.mappings.SubsonicLicense
Constructs a new SubsonicLicense object with defauklt values: { isValid : false, email : "john.doe@domain.com", date : "", key : "" }
SubsonicResponse - Class in net.subclient.subsonic.responses
Subsonic base class for the Subsonic API call responses
SubsonicResponse() - Constructor for class net.subclient.subsonic.responses.SubsonicResponse
Constructs a new SubsonicResponse with status OK and version 1.0.0

T

toChildInfo() - Method in class net.subclient.subsonic.mappings.PodcastInfo
Returns a new ChildInfo with the same data of this PodcastInfo
toString() - Method in class net.subclient.subsonic.mappings.ChannelInfo
The string representation of this channel is its title
toString() - Method in class net.subclient.subsonic.mappings.ChildInfo
The string representation of this child is its title
toString() - Method in class net.subclient.subsonic.mappings.FolderInfo
The string representation of this folder is its name
toString() - Method in class net.subclient.subsonic.mappings.IndexInfo
The string representation of this index is its name
toString() - Method in class net.subclient.subsonic.mappings.PlaylistInfo
The string representation of this playlist is its title
toString() - Method in class net.subclient.subsonic.mappings.PodcastInfo
The string representation of this podcast is its title
toString() - Method in enum net.subclient.subsonic.util.GetAlbumsType
 
toString() - Method in class net.subclient.subsonic.util.HttpParameter
 
toString() - Method in class net.subclient.subsonic.util.Version
Returns the String representation of this version formatted as X.X.X but avoiding revision numbers with zero value.
toString(boolean) - Method in class net.subclient.subsonic.util.Version
Returns the String representation of this version formatted as X.X.X
TRIAL_PERIOD_OVER - Static variable in exception net.subclient.subsonic.exceptions.SubsonicException
Server trial period has expired

V

valueOf(String) - Static method in enum net.subclient.subsonic.util.GetAlbumsType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.subclient.subsonic.util.GetAlbumsType
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in net.subclient.subsonic.util
Generates an object to handle a version
Version(int) - Constructor for class net.subclient.subsonic.util.Version
Constructs a new Version object with specified major number and assuming minor number and revision number are 0
Version(int, int) - Constructor for class net.subclient.subsonic.util.Version
Constructs a new Version object with specified major number and minor number and assumming revision number is 0
Version(int, int, int) - Constructor for class net.subclient.subsonic.util.Version
Constructs a new Version object with specified major number, minor number and revision number

W

WRONG_USER_OR_PASS - Static variable in exception net.subclient.subsonic.exceptions.SubsonicException
Wrong user or password
A C D F G H I M N P R S T V W