public LineCollection(File in) throws IOException { this(IO.reader(in, UTF_8)); }
public static BufferedReader reader(InputStream in) { return reader(in, UTF_8); }
public static BufferedReader reader(File f) throws IOException { return reader(f, "UTF-8"); }
public static BufferedReader reader(InputStream in) throws IOException { return reader(in, "UTF-8"); }
public static BufferedReader reader(InputStream in) { return reader(in, UTF_8); }
public static BufferedReader reader(File file) throws IOException { return reader(file.toPath(), UTF_8); }
public static BufferedReader reader(InputStream in, String encoding) { return reader(in, Charset.forName(encoding)); }
public static BufferedReader reader(File file, Charset encoding) throws IOException { return reader(file.toPath(), encoding); }
public static BufferedReader reader(InputStream in, String encoding) { return reader(in, Charset.forName(encoding)); }
public static BufferedReader reader(File file) throws IOException { return reader(file.toPath(), UTF_8); }
public static BufferedReader reader(File file, String encoding) throws IOException { return reader(file.toPath(), Charset.forName(encoding)); }
static public Properties parse(URI input) throws Exception { Reader reader = IO.reader(input.toURL().openStream()); return parse(reader, input); }
public static Writer copy(InputStream in, Writer w, Charset charset) throws IOException { return copy(reader(in, charset), w); }
public static String collect(Path path, Charset encoding) throws IOException { return collect(reader(path, encoding)); }
public static BufferedReader reader(Path path, Charset encoding) throws IOException { return reader(readChannel(path), encoding); }
public static String collect(InputStream in, Charset encoding) throws IOException { return collect(reader(in, encoding)); }
public static BufferedReader reader(ByteBuffer bb, Charset encoding) { return reader(new ByteBufferInputStream(bb), encoding); }
public static Writer copy(InputStream in, Writer w, Charset charset) throws IOException { return copy(reader(in, charset), w); }
public static String collect(InputStream in, Charset encoding) throws IOException { return collect(reader(in, encoding)); }
public static Writer copy(InputStream in, Writer w, Charset charset) throws IOException { return copy(reader(in, charset), w); }