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.String
data
static java.lang.String
REPLACEMENT_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.String
getString()
Gets theString
represented by this resource.void
preload()
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
-
-