diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html new file mode 100644 index 0000000..05dabfd --- /dev/null +++ b/doc/allclasses-frame.html @@ -0,0 +1,21 @@ + + + +
+ +Constructor and Description | +
---|
sarsoo.fmframework.fm.FmNetwork(String, String) | +
Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Each annotation type has its own separate page with the following sections:
+Each enum has its own separate page with the following sections:
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object
. The interfaces do not inherit from java.lang.Object
.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+These links take you to the next or previous class, interface, package, or related page.
+These links show and hide the HTML frames. All pages are available with or without frames.
+The All Classes link shows all classes and interfaces except non-static nested types.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
+The Constant Field Values page lists the static final fields and their values.
+public class FmNetwork
+extends java.lang.Object
+Constructor and Description | +
---|
FmNetwork(java.lang.String key)
+FmNetwork for raw and user independent Last.FM information
+ |
+
FmNetwork(java.lang.String key,
+ java.lang.String userName)
+Deprecated.
+ |
+
Modifier and Type | +Method and Description | +
---|---|
sarsoo.fmframework.music.Album |
+getAlbum(java.lang.String name,
+ java.lang.String artist)
+Get an album from Last.FM
+ |
+
sarsoo.fmframework.music.Artist |
+getArtist(java.lang.String name)
+Get an artist from Last.FM
+ |
+
sarsoo.fmframework.music.Track |
+getTrack(java.lang.String name,
+ java.lang.String artist)
+Get a track from Last.FM
+ |
+
sarsoo.fmframework.music.Album |
+refresh(sarsoo.fmframework.music.Album album)
+Exchanges album object for stat-updated album from Last.FM
+ |
+
sarsoo.fmframework.music.Artist |
+refresh(sarsoo.fmframework.music.Artist artist)
+Exchanges artist object for stat-updated artist from Last.FM
+ |
+
sarsoo.fmframework.music.FMObj |
+refresh(sarsoo.fmframework.music.FMObj obj)
+Catch-all refresh method to update an FMObj
+ by routing based on object class
+ |
+
sarsoo.fmframework.music.Track |
+refresh(sarsoo.fmframework.music.Track track)
+Exchanges track object for stat-updated track from Last.FM
+ |
+
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FmNetwork(java.lang.String key)+
key
- Last.FM API Key@Deprecated +public FmNetwork(java.lang.String key, + java.lang.String userName)+
public sarsoo.fmframework.music.Album getAlbum(java.lang.String name, + java.lang.String artist)+
name
- Album Nameartist
- Artist Namepublic sarsoo.fmframework.music.Artist getArtist(java.lang.String name)+
name
- Artist Namepublic sarsoo.fmframework.music.Track getTrack(java.lang.String name, + java.lang.String artist)+
name
- Track Nameartist
- Artist Namepublic sarsoo.fmframework.music.Album refresh(sarsoo.fmframework.music.Album album)+
album
- Old Album Objectpublic sarsoo.fmframework.music.Artist refresh(sarsoo.fmframework.music.Artist artist)+
artist
- Old Artist Objectpublic sarsoo.fmframework.music.Track refresh(sarsoo.fmframework.music.Track track)+
track
- Old Track Objectpublic sarsoo.fmframework.music.FMObj refresh(sarsoo.fmframework.music.FMObj obj)+
obj
- FMObj for refreshingpublic static enum FmUserNetwork.TaggingType +extends java.lang.Enum<FmUserNetwork.TaggingType>+
Enum Constant and Description | +
---|
ALBUM |
+
ARTIST |
+
TRACK |
+
Modifier and Type | +Method and Description | +
---|---|
static FmUserNetwork.TaggingType |
+valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FmUserNetwork.TaggingType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
public static final FmUserNetwork.TaggingType ARTIST+
public static final FmUserNetwork.TaggingType ALBUM+
public static final FmUserNetwork.TaggingType TRACK+
public static FmUserNetwork.TaggingType[] values()+
+for (FmUserNetwork.TaggingType c : FmUserNetwork.TaggingType.values()) + System.out.println(c); +
public static FmUserNetwork.TaggingType valueOf(java.lang.String name)+
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic class FmUserNetwork +extends FmNetwork+
Modifier and Type | +Class and Description | +
---|---|
static class |
+FmUserNetwork.TaggingType |
+
Constructor and Description | +
---|
FmUserNetwork(java.lang.String key,
+ java.lang.String userName)
+FmNetwork for user specific Last.FM information
+ |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+clearUser()
+Clears username from network
+ |
+
sarsoo.fmframework.music.Track |
+getLastTrack()
+Returns last or currently listening track
+ |
+
int |
+getScrobbleCountByDate(int day,
+ int month,
+ int year)
+Return scrobble count by date
+ |
+
int |
+getScrobbleCountByDeltaDay(int day)
+Returns scrobble count of day
+ by today - {int day}
+ |
+
int |
+getScrobblesToday()
+Return scrobble count from today
+ |
+
sarsoo.fmframework.util.FMObjList |
+getTag(java.lang.String tagName)
+Returns FMObjList of tagged artists
+ |
+
java.util.ArrayList<sarsoo.fmframework.music.Tag> |
+getTags()
+Returns list of user tags
+ |
+
sarsoo.fmframework.fm.User |
+getUser()
+Return user object from Last.FM
+ |
+
java.lang.String |
+getUserName()
+Return network's Last.FM username
+ |
+
java.lang.String |
+getUserRealName()
+Return user real name
+ |
+
int |
+getUserScrobbleCount()
+Return user's total scrobble count
+ |
+
void |
+setUserName(java.lang.String userName)
+Set network's Last.FM username
+ |
+
getAlbum, getArtist, getTrack, refresh, refresh, refresh, refresh
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public FmUserNetwork(java.lang.String key, + java.lang.String userName)+
key
- Last.FM API KeyuserName
- Last.FM usernamepublic void setUserName(java.lang.String userName)+
userName
- Last.FM usernamepublic java.lang.String getUserName()+
public void clearUser()+
public sarsoo.fmframework.fm.User getUser()+
public java.lang.String getUserRealName()+
public int getUserScrobbleCount()+
public sarsoo.fmframework.music.Track getLastTrack()+
public int getScrobblesToday()+
public int getScrobbleCountByDate(int day, + int month, + int year)+
day
- Day intmonth
- Month intyear
- Year intpublic int getScrobbleCountByDeltaDay(int day)+
day
- Negative day offsetpublic java.util.ArrayList<sarsoo.fmframework.music.Tag> getTags()+
public sarsoo.fmframework.util.FMObjList getTag(java.lang.String tagName)+
tagName
- Tag to exploreModifier and Type | +Class and Description | +
---|---|
class |
+FmUserNetwork |
+
Modifier and Type | +Method and Description | +
---|---|
static FmUserNetwork.TaggingType |
+FmUserNetwork.TaggingType.valueOf(java.lang.String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static FmUserNetwork.TaggingType[] |
+FmUserNetwork.TaggingType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
Class | +Description | +
---|---|
FmNetwork | ++ |
FmUserNetwork | ++ |
Enum | +Description | +
---|---|
FmUserNetwork.TaggingType | ++ |
Class and Description | +
---|
FmNetwork | +
FmUserNetwork.TaggingType | +
User | +