public final class ExtendedIOUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendedIOUtil.ClassLoaderClassResolver |
static interface |
ExtendedIOUtil.ClassResolver |
public static void writeByteArray(DataOutput out, byte[] b) throws IOException
IOExceptionpublic static byte[] readByteArray(DataInput in) throws IOException
IOExceptionpublic static void writeObject(DataOutput out, Object object) throws IOException
IOExceptionpublic static Object readObject(DataInput in) throws IOException
IOExceptionpublic static Object readObject(DataInput in, ClassLoader classLoader) throws IOException
IOExceptionpublic static Object readObject(DataInput in, ExtendedIOUtil.ClassResolver classResolver) throws IOException
IOExceptionpublic static void writeString(DataOutput out, String str) throws IOException
IOExceptionpublic static String readString(DataInput in) throws IOException
IOExceptionpublic static long writeBinaryStream(DataOutput out, InputStream inputStream) throws IOException
IOExceptionpublic static long readBinaryStream(DataInput in, OutputStream outputStream) throws IOException
IOExceptionpublic static long writeCharacterStream(DataOutput out, Reader reader) throws IOException
IOExceptionpublic static long readCharacterStream(DataInput in, Writer writer) throws IOException
IOExceptionpublic static void writeEnum(DataOutput out, Enum<?> literal) throws IOException
IOExceptionpublic static <T extends Enum<?>> T readEnum(DataInput in, Class<T> type) throws IOException
IOExceptionpublic static void writeException(DataOutput out, Throwable t) throws IOException
IOExceptionpublic static Throwable readException(DataInput in) throws IOException
IOExceptionpublic static byte[] serializeThrowable(Throwable t)
public static Throwable deserializeThrowable(byte[] bytes)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html