com.livescribe.i18n
Class TextResource
java.lang.Object
com.livescribe.i18n.Resource
com.livescribe.i18n.DisplayableResource
com.livescribe.i18n.TextResource
public abstract class TextResource
- extends DisplayableResource
This class defines a text resource that has been localized for a
particular Locale and that can be rendered on the display.
- See Also:
Locale
| Fields inherited from class com.livescribe.i18n.Resource |
id |
|
Constructor Summary |
protected |
TextResource(String id)
Creates a new text resource having the specified ID. |
TextResource
protected TextResource(String id)
- Creates a new text resource having the specified ID.
- Parameters:
id - the resource ID
getText
public abstract String getText()
- Gets the localized text.
- Returns:
- the localized text.
toString
public String toString()
- Returns a string representation of this object. This implementation
returns the resource text.
- Overrides:
toString in class Resource
- Returns:
- the resource text.
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.