|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.molwind.io.AbstractWorldLocator
public abstract class AbstractWorldLocator
AbstractWorldLocator adds logging functionality which can be used by sub-classes.
| Constructor Summary | |
|---|---|
AbstractWorldLocator()
|
|
| Method Summary | |
|---|---|
void |
configure(Configurator config)
Configures this object from a given configurator. |
abstract java.lang.String[] |
getWorldNames()
Returns a (possibly empty) list of locatable worlds |
abstract MolwindWorld |
locateWorld(java.lang.String worldName)
Locates a world with the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractWorldLocator()
| Method Detail |
|---|
public void configure(Configurator config)
throws ConfigException
configure in interface Configurableconfig - the configurator
ConfigException - is thrown upon config errorpublic abstract java.lang.String[] getWorldNames()
getWorldNames in interface WorldLocator
public abstract MolwindWorld locateWorld(java.lang.String worldName)
throws java.io.IOException
locateWorld in interface WorldLocatorworldName - the name of the world
java.io.IOException - is thrown upon i/o error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||