sk.baka.ambient.activity
Class AmpacheClientBean

java.lang.Object
  extended by sk.baka.ambient.activity.AmpacheClientBean
All Implemented Interfaces:
Serializable

public final class AmpacheClientBean
extends Object
implements Serializable

Stores the ampache client configuration.

Author:
Martin Vysny
See Also:
Serialized Form

Field Summary
 String host
          Host name of the ampache server.
 String password
          Password for ampache.
 String username
          Optional user name for ampache.
 
Constructor Summary
AmpacheClientBean()
           
 
Method Summary
 String getURL()
          Returns a http:// URL of the ampache server.
 boolean isValid()
          Checks if the data in this bean are valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

@Bind(captionId=-1,
      viewId=2131230722)
public String host
Host name of the ampache server.


username

@Bind(captionId=-1,
      viewId=2131230723)
public String username
Optional user name for ampache.


password

@Bind(captionId=-1,
      viewId=2131230724)
public String password
Password for ampache.

Constructor Detail

AmpacheClientBean

public AmpacheClientBean()
Method Detail

isValid

public boolean isValid()
Checks if the data in this bean are valid.

Returns:
true if a connection to the Ampache server can potentially be performed.

getURL

public String getURL()
Returns a http:// URL of the ampache server.

Returns:
the URL of the server.


Copyright © 2007-2008. All Rights Reserved.