public abstract class HTMLReader extends Object
| Constructor and Description |
|---|
HTMLReader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHTMLErrorPage(String errorMessage) |
static String |
getText(String filename)
Reads a given file and converts it to a String using
BufferedReader |
public static String getText(String filename)
BufferedReaderfilename - the path and name of the (HTML) file, e.g. ./WEB-INF/pages/index.htmlCopyright © 2017–2020. All rights reserved.