| 限定符和类型 | 方法和说明 |
|---|---|
static void |
copy(InputStream input,
OutputStream output) |
static void |
copy(Socket socket,
String dest) |
static void |
copy(String src,
Socket socket) |
static void |
copy(String src,
String dest) |
static void |
copy(URL url,
String dest) |
static void |
copyAndClose(InputStream input,
OutputStream output) |
static void |
copyAndClose(Socket socket,
String dest) |
static void |
copyAndClose(String src,
Socket socket) |
static void |
copyAndClose(String src,
String dest) |
static void |
copyAndClose(URL url,
String dest) |
public static void copy(InputStream input, OutputStream output) throws IOException
IOExceptionpublic static void copyAndClose(InputStream input, OutputStream output) throws IOException
IOExceptionpublic static void copy(String src, String dest) throws IOException
IOExceptionpublic static void copyAndClose(String src, String dest) throws IOException
IOExceptionpublic static void copy(URL url, String dest) throws IOException
IOExceptionpublic static void copyAndClose(URL url, String dest) throws IOException
IOExceptionpublic static void copy(Socket socket, String dest) throws IOException
IOExceptionpublic static void copyAndClose(Socket socket, String dest) throws IOException
IOExceptionpublic static void copy(String src, Socket socket) throws IOException
IOExceptionpublic static void copyAndClose(String src, Socket socket) throws IOException
IOExceptionCopyright © 2015. All rights reserved.