public class IoUtil
extends java.lang.Object
Constructor and Description |
---|
IoUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
close(java.io.InputStream is) |
static void |
close(java.io.OutputStream os) |
static void |
close(java.io.Writer os) |
static int |
readInt(java.io.InputStream is) |
static long |
readLong(java.io.InputStream is) |
static void |
writeInt(java.io.OutputStream os,
int v) |
static void |
writeLong(java.io.OutputStream os,
long v) |
public static int readInt(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static void writeInt(java.io.OutputStream os, int v) throws java.io.IOException
java.io.IOException
public static long readLong(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static void writeLong(java.io.OutputStream os, long v) throws java.io.IOException
java.io.IOException
public static void close(java.io.InputStream is)
public static void close(java.io.OutputStream os)
public static void close(java.io.Writer os)