public class IO extends Object
| Constructor and Description |
|---|
IO() |
| Modifier and Type | Method and Description |
|---|---|
static Throwable |
close(Closeable in) |
static String |
collect(File a) |
static String |
collect(File a,
String encoding) |
static String |
collect(InputStream a) |
static String |
collect(InputStream a,
String encoding) |
static String |
collect(Reader a) |
static String |
collect(URL a,
String encoding) |
void |
copy(Collection<?> c,
OutputStream out) |
static void |
copy(File a,
File b) |
static void |
copy(File a,
OutputStream b) |
static void |
copy(InputStream in,
ByteBuffer bb) |
static void |
copy(InputStream in,
DataOutput out) |
static void |
copy(InputStream a,
File b) |
static void |
copy(InputStream in,
OutputStream out) |
static void |
delete(File f) |
static void |
drain(InputStream in) |
static File |
getFile(File base,
String file) |
static URL |
toURL(String s,
File base) |
public static void copy(InputStream in, OutputStream out) throws IOException
IOExceptionpublic static void copy(InputStream in, DataOutput out) throws IOException
IOExceptionpublic static void copy(InputStream in, ByteBuffer bb) throws IOException
IOExceptionpublic static void copy(File a, File b) throws IOException
IOExceptionpublic static void copy(InputStream a, File b) throws IOException
IOExceptionpublic static void copy(File a, OutputStream b) throws IOException
IOExceptionpublic static String collect(File a, String encoding) throws IOException
IOExceptionpublic static String collect(URL a, String encoding) throws IOException
IOExceptionpublic static String collect(File a) throws IOException
IOExceptionpublic static String collect(InputStream a, String encoding) throws IOException
IOExceptionpublic static String collect(InputStream a) throws IOException
IOExceptionpublic static String collect(Reader a) throws IOException
IOExceptionpublic static void delete(File f)
public static void drain(InputStream in) throws IOException
IOExceptionpublic void copy(Collection<?> c, OutputStream out)
public static URL toURL(String s, File base) throws MalformedURLException
MalformedURLExceptionCopyright © 2015 aQute SARL. All Rights Reserved.