Package org.geotools.text
Class Text
Object
Text
Helper class for working with InternationalString and other forms of Text.
- Author:
- Jody Garnett
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic InternationalStringCreate a international string based on the provided English text.static InternationalStringCreate an international string based on provided key, and resource bundle.static InternationalStringstatic InternationalStringtext(String key, Properties properties) 
- 
Constructor Details- 
Textpublic Text()
 
- 
- 
Method Details- 
textCreate 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
 
- 
textCreate an international string based on provided key, and resource bundle.- Parameters:
- key- The key for the resource to fetch
- resourceBundle- The name of the resource bundle, as a fully qualified class name.
- Returns:
- ResourceInternationalString
 
- 
text
- 
text
 
-