| Modifier and Type | Method and Description |
|---|---|
static String |
getTextFromUrl(String url)
Gets the text from the supplied url.
|
public static String getTextFromUrl(String url) throws IOException
url - The URL of the text file to get.IOException - When no text could be read from the supplied url.MalformedURLException - When the supplied url is not a
valid url.Copyright © 2008–2017. All rights reserved.