public class TextReader extends java.lang.Object
Constructor and Description |
---|
TextReader() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
readText(java.io.File file) |
static java.lang.String |
readText(java.io.InputStream stream) |
static java.lang.String |
readText(java.io.InputStream stream,
int bufferSize) |
static java.lang.String |
readText(java.net.URL url) |
public TextReader()
public static java.lang.String readText(java.net.URL url) throws java.io.IOException
java.io.IOException
public static java.lang.String readText(java.io.File file) throws java.io.IOException
java.io.IOException
public static java.lang.String readText(java.io.InputStream stream) throws java.io.IOException
java.io.IOException
public static java.lang.String readText(java.io.InputStream stream, int bufferSize) throws java.io.IOException
java.io.IOException