| Modifier and Type | Field and Description |
|---|---|
| public static final long | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static long | copy(final InputStream
InputStream inputStream, final OutputStream OutputStream outputStream)Returns: long |
| public static long | copy(final InputStream
InputStream inputStream, final OutputStream OutputStream outputStream, final long long amount)Returns: long |
| public static long | Returns: the number of bytes actually transferred.from which to source bytes inputStream, final OutputStream to which to sink bytes outputStream, final long max # of bytes to transfer. amount, final int to use internally bufferSize)the specified |
| public static long | |
| public static long | |
| public static long | Returns: the number of characters actually transferred.from which to source characters reader, final Writer to which to sink characters writer, final long max # of characters to transfer. amount, final int to use internally bufferSize)the specified |
| public static Serializable | Returns: the Object resulting from deserializing the specified array of bytesthe byte array to deserialize to an Object ba)Deserializes the specified byte array to an
|
| public static int | Returns: intInputStream in, OutputStream OutputStream out)Implementation only supports unix line-end format and is suitable for processing HTTP and other network protocol communications. |
| public static byte[] | Returns: a static byte array representing the passed Objectthe Object to serialize s)Retrieves the serialized form of the specified |
| DEFAULT_COPY_AMOUNT | back to summary |
|---|---|
| public static final long DEFAULT_COPY_AMOUNT | |
| DEFAULT_COPY_BUFFER_SIZE | back to summary |
|---|---|
| public static final int DEFAULT_COPY_BUFFER_SIZE | |
| InOutUtil | back to summary |
|---|---|
| private InOutUtil() | |
| copy | back to summary |
|---|---|
public static long copy(final InputStream inputStream, final OutputStream outputStream) throws IOException
| |
| copy | back to summary |
|---|---|
public static long copy(final InputStream inputStream, final OutputStream outputStream, final long amount) throws IOException
| |
| copy | back to summary |
|---|---|
| public static long copy(final InputStream inputStream, final OutputStream outputStream, final long amount, final int bufferSize) throws IOException the specified
| |
| copy | back to summary |
|---|---|
public static long copy(final Reader reader, final Writer writer) throws IOException
| |
| copy | back to summary |
|---|---|
public static long copy(final Reader reader, final Writer writer, final long amount) throws IOException
| |
| copy | back to summary |
|---|---|
| public static long copy(final Reader reader, final Writer writer, final long amount, final int bufferSize) throws IOException the specified
| |
| deserialize | back to summary |
|---|---|
| public static Serializable deserialize(byte[] ba) throws IOException, ClassNotFoundException Deserializes the specified byte array to an
| |
| readLine | back to summary |
|---|---|
| public static int readLine(InputStream in, OutputStream out) throws IOException Implementation only supports unix line-end format and is suitable for processing HTTP and other network protocol communications. Reads and writes a line of data. Returns the number of bytes read/written.
| |
| serialize | back to summary |
|---|---|
| public static byte[] serialize(Serializable s) throws IOException Retrieves the serialized form of the specified
| |