|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.common.resources.ResourceFactory
public class ResourceFactory
A factory class for creating Resource
instances.
Resource
Constructor Summary | |
---|---|
ResourceFactory()
|
Method Summary | |
---|---|
static Resource |
createResource(java.net.URI uri)
Returns an instance of Resource with the
given URI as the parameter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceFactory()
Method Detail |
---|
public static Resource createResource(java.net.URI uri)
Resource
with the
given URI
as the parameter.
uri
- The URI
used when creating the
instance.
Resource
with the given URI
if such an object has
already been created, or a new instance if not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |