public class OutputStreamUtil extends Object
| 构造器和说明 |
|---|
OutputStreamUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
flush(OutputStream outputStream) |
static DataOutputStream |
getDataOutputStream(HttpURLConnection httpURLConnection) |
static OutputStream |
getOutputStream(HttpURLConnection httpURLConnection) |
static void |
write(OutputStream outputStream,
byte[] b) |
public static void write(OutputStream outputStream, byte[] b) throws IOException
IOExceptionpublic static void flush(OutputStream outputStream) throws IOException
IOExceptionpublic static OutputStream getOutputStream(HttpURLConnection httpURLConnection) throws IOException
IOExceptionpublic static DataOutputStream getDataOutputStream(HttpURLConnection httpURLConnection) throws IOException
IOExceptionCopyright © 2024. All rights reserved.