Package org.geotools.text
Class Text
Object
Text
Helper class for working with InternationalString and other forms of Text.
- Author:
- Jody Garnett
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InternationalString
Create a international string based on the provided English text.static InternationalString
Create an international string based on provided key, and resource bundle.static InternationalString
static InternationalString
text
(String key, Properties properties)
-
Constructor Details
-
Text
public Text()
-
-
Method Details
-
text
Create a international string based on the provided English text.We will hook up this method to a properties file at a later time, making other translations available via the Factory SPI mechanism.
- Returns:
- SimpleInternationalString
-
text
Create an international string based on provided key, and resource bundle.- Parameters:
key
- The key for the resource to fetchresourceBundle
- The name of the resource bundle, as a fully qualified class name.- Returns:
- ResourceInternationalString
-
text
-
text
-