Package org.jboss.marshalling.serial
Class Serial
java.lang.Object
org.jboss.marshalling.serial.Serial
- All Implemented Interfaces:
ObjectStreamConstants
,ExtendedObjectStreamConstants
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
private static final class
private static enum
-
Field Summary
Fields inherited from interface org.jboss.marshalling.serial.ExtendedObjectStreamConstants
TC_CLASSTABLEDESC, TC_OBJECTTABLE
Fields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, SERIAL_FILTER_PERMISSION, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
dumpBlockData
(Map<Integer, Serial.ClassInfo> map, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth) private static void
dumpContent
(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) private static Serial.ClassInfo
dumpDescriptor
(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) private static void
dumpFields
(Serial.ClassInfo info, Map<Integer, Serial.ClassInfo> map, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth) private static void
dumpObject
(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) private static void
dumpStream
(DataInputStream serializedData, BufferedWriter destination) static void
dumpStream
(InputStream serializedData, Writer destination) private static void
dumpString
(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) private static void
printf
(BufferedWriter w, int depth, String format, Object... args)
-
Constructor Details
-
Serial
private Serial()
-
-
Method Details
-
dumpStream
- Throws:
IOException
-
dumpStream
private static void dumpStream(DataInputStream serializedData, BufferedWriter destination) throws IOException - Throws:
IOException
-
dumpContent
private static void dumpContent(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) throws IOException- Throws:
IOException
-
dumpObject
private static void dumpObject(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) throws IOException- Throws:
IOException
-
dumpString
private static void dumpString(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) throws IOException- Throws:
IOException
-
dumpFields
private static void dumpFields(Serial.ClassInfo info, Map<Integer, Serial.ClassInfo> map, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth) throws IOException- Throws:
IOException
-
dumpBlockData
private static void dumpBlockData(Map<Integer, Serial.ClassInfo> map, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth) throws IOException- Throws:
IOException
-
dumpDescriptor
private static Serial.ClassInfo dumpDescriptor(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) throws IOException- Throws:
IOException
-
printf
private static void printf(BufferedWriter w, int depth, String format, Object... args) throws IOException - Throws:
IOException
-