|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rakeshv.utils.LaTeXAccents
public class LaTeXAccents
Convert ISO character entities into their equivalent 7-bit ASCII characters, or LATEX equivalents.
Looks for the characters that are above 127, and tries to match them against the characters specified in the HTML specification (http://www.w3.org/TR/html4/sgml/entities.html).
Uses ISOToASCII and
ISOToTeX HashMaps
to perform the lookups.
| Field Summary | |
|---|---|
private java.lang.String |
content
The String object that holds the modified contents. |
| Constructor Summary | |
|---|---|
private |
LaTeXAccents()
Default constructor. |
|
LaTeXAccents(java.lang.String inString)
Modifies all accentuated characters in the specified String |
| Method Summary | |
|---|---|
java.lang.String |
getContent()
Returns content. |
private java.lang.String |
modifyContent(java.lang.String inString)
The method in which the conversion of the characters is done. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String content
String object that holds the modified contents.
| Constructor Detail |
|---|
private LaTeXAccents()
Default constructor. Cannot be invoked.
public LaTeXAccents(java.lang.String inString)
Modifies all accentuated characters in the specified
String
inString - - The input String to process.| Method Detail |
|---|
private java.lang.String modifyContent(java.lang.String inString)
inString - - The input String that
is to be processed.
String object.public final java.lang.String getContent()
content.
|
Rakesh API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||