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
FileNotFoundException
IOException
public static void copyStreams(InputStream in, OutputStream out) throws IOException
IOException
public static void copyReaderWriter(Reader in, Writer out) throws IOException
IOException
public static String readTextFileIntoString(File input) throws IOException
IOException
public static String readTextFileIntoString(InputStream stream) throws IOException
IOException
public static String readTextFileIntoString(Reader reader) throws IOException
IOException
see also the complete user documentation .