public final class IO extends Object
Modifier and Type | Method and Description |
---|---|
static InputStream |
buffer(InputStream stream) |
static OutputStream |
buffer(OutputStream stream) |
static Reader |
buffer(Reader reader) |
static Writer |
buffer(Writer writer) |
static <T> T |
closeQuietly(T object) |
static String |
extractExtension(String location) |
static URL |
extractURL(String location) |
static InputStream |
parallelBuffer(InputStream stream,
byte delimiter) |
static OutputStream |
parallelBuffer(OutputStream stream,
byte delimiter) |
static Reader |
parallelBuffer(Reader reader,
char delimiter) |
static Writer |
parallelBuffer(Writer writer,
char delimiter) |
static InputStream |
read(String location) |
static Reader |
utf8Reader(InputStream stream) |
static Writer |
utf8Writer(OutputStream stream) |
static OutputStream |
write(String location) |
public static InputStream read(String location) throws IOException
IOException
public static OutputStream write(String location) throws IOException
IOException
public static InputStream buffer(InputStream stream)
public static OutputStream buffer(OutputStream stream)
public static InputStream parallelBuffer(InputStream stream, byte delimiter)
public static OutputStream parallelBuffer(OutputStream stream, byte delimiter)
public static Reader utf8Reader(InputStream stream)
public static Writer utf8Writer(OutputStream stream)
Copyright © 2015–2016 FBK-irst. All rights reserved.