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