org.geotools.text
Class Text
Object
Text
public class Text
- extends Object
Helper class for working with InternaionalString and other forms of Text.
- Author:
- Jody Garnett
Constructor Summary |
Text()
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Text
public Text()
text
public static InternationalString text(String english)
- 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.
- Parameters:
english
-
- Returns:
- SimpleInternationalString
text
public static InternationalString text(String key,
String resourceBundle)
- Create an international string based on provided key, and resource bundle.
- Parameters:
key
- The key for the resource to fetchresources
- The name of the resource bundle, as a fully qualified class name.
- Returns:
- ResourceInternationalString
text
public static InternationalString text(String key,
Map<String,String> translations)
text
public static InternationalString text(String key,
Properties properties)
Copyright © 1996-2014 Geotools. All Rights Reserved.