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
IOException
public static void copy(InputStream in, DataOutput out) throws IOException
IOException
public static void copy(InputStream in, ByteBuffer bb) throws IOException
IOException
public static void copy(File a, File b) throws IOException
IOException
public static void copy(InputStream a, File b) throws IOException
IOException
public static void copy(File a, OutputStream b) throws IOException
IOException
public static String collect(File a, String encoding) throws IOException
IOException
public static String collect(URL a, String encoding) throws IOException
IOException
public static String collect(File a) throws IOException
IOException
public static String collect(InputStream a, String encoding) throws IOException
IOException
public static String collect(InputStream a) throws IOException
IOException
public static String collect(Reader a) throws IOException
IOException
public static void delete(File f)
public static void drain(InputStream in) throws IOException
IOException
public void copy(Collection<?> c, OutputStream out)
public static URL toURL(String s, File base) throws MalformedURLException
MalformedURLException
Copyright © 2016 aQute SARL. All Rights Reserved.