public class StreamsReadersWriters extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamsReadersWriters.CaseChangeReader
Converts all characters read to lower or to upper.
|
| Constructor and Description |
|---|
StreamsReadersWriters() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFiles(File in,
File out) |
static void |
copyReaderWriter(Reader in,
Writer out) |
static void |
copyStreams(InputStream in,
OutputStream out) |
static String |
readTextFileIntoString(File input) |
static String |
readTextFileIntoString(InputStream stream) |
static String |
readTextFileIntoString(Reader reader) |
static void |
wget_unzip(URL in,
File outDir) |
static void |
wget(URL in,
File out) |
public static void copyFiles(File in, File out) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic static void copyStreams(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static void copyReaderWriter(Reader in, Writer out) throws IOException
IOExceptionpublic static String readTextFileIntoString(File input) throws IOException
IOExceptionpublic static String readTextFileIntoString(InputStream stream) throws IOException
IOExceptionpublic static String readTextFileIntoString(Reader reader) throws IOException
IOExceptionsee also the complete user documentation .