Package com.aowagie.text
Class SpecialSymbol
- java.lang.Object
-
- com.aowagie.text.SpecialSymbol
-
class SpecialSymbol extends java.lang.Object
This class contains the symbols that correspond with special symbols.When you construct a
Phrase
with Phrase.getInstance using aString
, thisString
can contain special Symbols. These are characters with an int value between 913 and 937 (except 930) and between 945 and 969. With this class the value of the corresponding character of the Font Symbol, can be retrieved.- See Also:
Phrase
-
-
Constructor Summary
Constructors Constructor Description SpecialSymbol()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static char
getCorrespondingSymbol(char c)
Looks for the corresponding symbol in the font Symbol.(package private) static int
index(java.lang.String string)
Returns the first occurrence of a special symbol in aString
.
-
-
-
Method Detail
-
index
static int index(java.lang.String string)
Returns the first occurrence of a special symbol in aString
.- Parameters:
string
- aString
- Returns:
- an index of -1 if no special symbol was found
-
getCorrespondingSymbol
static char getCorrespondingSymbol(char c)
Looks for the corresponding symbol in the font Symbol.- Parameters:
c
- the original ASCII-char- Returns:
- the corresponding symbol in font Symbol
-
-