|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.common.distribute.arcrepository.Location
public class Location
This class encapsulates the bitarchive locations. It guarantees that there is only one Location object per location name.
Method Summary | |
---|---|
static Location |
get(java.lang.String name)
Get an object representing the location with the given name. |
ChannelID |
getChannelID()
Get the BaMon channel id that corresponds to this location. |
static java.util.Collection<Location> |
getKnown()
Get all known locations. |
static java.lang.String[] |
getKnownNames()
Get all known locations as names. |
java.lang.String |
getName()
Get the name of an location. |
static boolean |
isKnownLocation(java.lang.String name)
Check, if a given name is a location name. |
java.lang.String |
toString()
Returns a human-readable representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static Location get(java.lang.String name)
name
- The given name of an location
public static boolean isKnownLocation(java.lang.String name)
name
- a given name
public static java.util.Collection<Location> getKnown()
public static java.lang.String[] getKnownNames()
public java.lang.String getName()
public ChannelID getChannelID()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |