com.antelmann.cddb
Class CDDBServer
java.lang.Object
com.antelmann.cddb.CDDBServer
- All Implemented Interfaces:
- Serializable
public class CDDBServer
- extends Object
- implements Serializable
CDDBServer represents a server that can act as a mirror to a
CDDB service.
This class has all elements as they can be retrieved from a CDDB
service supporting protocol level 3-5.
- Author:
- Holger Antelmann
- See Also:
FreeDB.setServer(CDDBServer),
FreeDB.listSites(),
Serialized Form
DEFAULT_SERVER
public static final CDDBServer DEFAULT_SERVER
- the default server: freedb.freedb.org with http on port 80
CDDBServer
public CDDBServer(String site,
String protocol,
int port,
String address,
String latitude,
String longitude,
String description)
getSite
public String getSite()
getProtocol
public String getProtocol()
getPort
public int getPort()
getAddress
public String getAddress()
getLatitude
public String getLatitude()
getLongitude
public String getLongitude()
getDescription
public String getDescription()
toString
public String toString()
- Overrides:
toString in class Object
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads