public class Text
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static java.lang.String | excapeForXML(java.lang.String text)Escapes special XML characters in the specified text. | 
| static java.lang.String | readTextFile(java.io.File file)Reads multi-line text from the specified file. | 
public static java.lang.String excapeForXML(java.lang.String text)
text - Text to be escaped. Must be not null.public static java.lang.String readTextFile(java.io.File file)
                                     throws java.io.IOException
file - Text file.java.io.IOException - if some reading error occurs.