Modifier and Type | Method and Description |
---|---|
static Hml |
read(File file)
Read HML from the specified file.
|
static Hml |
read(InputStream inputStream)
Read HML from the specified input stream.
|
static Hml |
read(Reader reader)
Read HML from the specified reader.
|
static Hml |
read(URL url)
Read HML from the specified URL.
|
public static Hml read(Reader reader) throws IOException
reader
- reader to read from, must not be nullIOException
- if an I/O error occurspublic static Hml read(File file) throws IOException
file
- file to read from, must not be nullIOException
- if an I/O error occurspublic static Hml read(URL url) throws IOException
url
- URL to read from, must not be nullIOException
- if an I/O error occurspublic static Hml read(InputStream inputStream) throws IOException
inputStream
- input stream to read from, must not be nullIOException
- if an I/O error occursCopyright © 2014–2015. All rights reserved.