public class UTF8 extends Object
| Constructor and Description |
|---|
UTF8() |
| Modifier and Type | Method and Description |
|---|---|
static BufferedReader |
bufferedReader(InputStream in) |
static BufferedWriter |
bufferedWriter(File fileName) |
static BufferedWriter |
bufferedWriter(String fileName) |
static Reader |
fileReader(File fileName) |
static Reader |
fileReader(String fileName) |
static Writer |
fileWriter(File fileName) |
static Writer |
fileWriter(String fileName) |
static byte[] |
getBytes(String s) |
static PrintStream |
printStream(OutputStream out) |
static PrintStream |
printStream(OutputStream out,
boolean autoflush) |
static PrintWriter |
printWriter(File fileName) |
static PrintWriter |
printWriter(PrintStream printStream) |
static PrintWriter |
printWriter(PrintStream printStream,
boolean autoflush) |
static PrintWriter |
printWriter(String fileName) |
static Reader |
reader(InputStream in) |
static Writer |
writer(OutputStream out) |
public static final Charset charset
public static PrintStream printStream(OutputStream out)
public static PrintStream printStream(OutputStream out, boolean autoflush)
public static Writer writer(OutputStream out)
public static Writer fileWriter(File fileName) throws IOException
IOExceptionpublic static BufferedWriter bufferedWriter(File fileName) throws IOException
IOExceptionpublic static PrintWriter printWriter(File fileName) throws IOException
IOExceptionpublic static PrintWriter printWriter(PrintStream printStream)
public static PrintWriter printWriter(PrintStream printStream, boolean autoflush)
public static Writer fileWriter(String fileName) throws IOException
IOExceptionpublic static BufferedWriter bufferedWriter(String fileName) throws IOException
IOExceptionpublic static Reader fileReader(String fileName) throws IOException
IOExceptionpublic static Reader fileReader(File fileName) throws IOException
IOExceptionpublic static PrintWriter printWriter(String fileName) throws IOException
IOExceptionpublic static Reader reader(@WillCloseWhenClosed InputStream in)
public static BufferedReader bufferedReader(@WillCloseWhenClosed InputStream in)
public static byte[] getBytes(String s)
Copyright © 2003–2015. All rights reserved.