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)
BufferedReader
filename
- the path and name of the (HTML) file, e.g. ./WEB-INF/pages/index.html
Copyright © 2017–2020. All rights reserved.