Package net.sf.freecol.common.resources
Class StringResource
- java.lang.Object
-
- net.sf.freecol.common.resources.Resource
-
- net.sf.freecol.common.resources.StringResource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.freecol.common.resources.Resource
Resource.Cleanable
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdatastatic java.lang.StringREPLACEMENT_STRING
-
Constructor Summary
Constructors Constructor Description StringResource(java.lang.String primaryKey, java.net.URI resourceLocator)Do not use directly.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetString()Gets theStringrepresented by this resource.voidpreload()Preload the resource if possible/meaningful.-
Methods inherited from class net.sf.freecol.common.resources.Resource
getPrimaryKey, getResourceLocator
-
-
-
-
Field Detail
-
REPLACEMENT_STRING
public static final java.lang.String REPLACEMENT_STRING
- See Also:
- Constant Field Values
-
data
private java.lang.String data
-
-