sk.baka.ambient.collection.ampache
Class AmpacheInfo.Builder

java.lang.Object
  extended by sk.baka.ambient.collection.ampache.AmpacheInfo.Builder
Enclosing class:
AmpacheInfo

@ThreadUnsafe
public static final class AmpacheInfo.Builder
extends java.lang.Object

Builds instances of AmpacheInfo class.

Author:
Martin Vysny

Field Summary
 int albums
          Number of albums in the collection.
 java.lang.String apiVersion
          The Ampache XML API version.
 int artists
          Number of artists in the collection.
 java.util.Date lastAdd
          Last Add.
 java.util.Date lastUpdate
          Last Update.
 int songs
          Number of songs in the collection.
 java.lang.String token
          The Ampache security token.
 
Constructor Summary
AmpacheInfo.Builder()
           
 
Method Summary
 AmpacheInfo build()
          Builds new object instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token

public java.lang.String token
The Ampache security token.


apiVersion

public java.lang.String apiVersion
The Ampache XML API version.


lastUpdate

public java.util.Date lastUpdate
Last Update.


lastAdd

public java.util.Date lastAdd
Last Add.


songs

public int songs
Number of songs in the collection.


artists

public int artists
Number of artists in the collection.


albums

public int albums
Number of albums in the collection.

Constructor Detail

AmpacheInfo.Builder

public AmpacheInfo.Builder()
Method Detail

build

public AmpacheInfo build()
Builds new object instance.

Returns:
non-null instance.


Copyright © 2007-2009. All Rights Reserved.