|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.util.text.CharacterSet
public final class CharacterSet
CharacterSet is a convenience class for created a sorted list of characters that can be used to create a font definition.
| Constructor Summary | |
|---|---|
CharacterSet()
|
|
| Method Summary | |
|---|---|
void |
add(char character)
Add a character to the set of existing characters. |
void |
add(String text)
Add all the characters in a string to the set of existing characters. |
List<Character> |
getCharacters()
Get the sorted list of characters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterSet()
| Method Detail |
|---|
public void add(char character)
character - a character. If a character is already included then it
is ignored.public void add(String text)
text - a string of characters. If any character is already included
then it is ignored.public List<Character> getCharacters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||