|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alibaba.dubbo.common.utils.IOUtils
public class IOUtils
Method Summary | |
---|---|
static void |
appendLines(File file,
String[] lines)
append lines. |
static String |
read(Reader reader)
read string. |
static String[] |
readLines(File file)
read lines. |
static String[] |
readLines(InputStream is)
read lines. |
static long |
write(InputStream is,
OutputStream os)
write. |
static long |
write(InputStream is,
OutputStream os,
int bufferSize)
write. |
static long |
write(Reader reader,
Writer writer)
write. |
static long |
write(Reader reader,
Writer writer,
int bufferSize)
write. |
static long |
write(Writer writer,
String string)
write string. |
static void |
writeLines(File file,
String[] lines)
write lines. |
static void |
writeLines(OutputStream os,
String[] lines)
write lines. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static long write(InputStream is, OutputStream os) throws IOException
is
- InputStream instance.os
- OutputStream instance.
IOException.
IOException
public static long write(InputStream is, OutputStream os, int bufferSize) throws IOException
is
- InputStream instance.os
- OutputStream instance.bufferSize
- buffer size.
IOException.
IOException
public static String read(Reader reader) throws IOException
reader
- Reader instance.
IOException
public static long write(Writer writer, String string) throws IOException
writer
- Writer instance.string
- String.
IOException
public static long write(Reader reader, Writer writer) throws IOException
reader
- Reader.writer
- Writer.
IOException
public static long write(Reader reader, Writer writer, int bufferSize) throws IOException
reader
- Reader.writer
- Writer.bufferSize
- buffer size.
IOException
public static String[] readLines(File file) throws IOException
file
- file.
IOException
public static String[] readLines(InputStream is) throws IOException
is
- input stream.
IOException
public static void writeLines(OutputStream os, String[] lines) throws IOException
os
- output stream.lines
- lines.
IOException
public static void writeLines(File file, String[] lines) throws IOException
file
- file.lines
- lines.
IOException
public static void appendLines(File file, String[] lines) throws IOException
file
- file.lines
- lines.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |