Class Serial
java.lang.Object
org.jboss.marshalling.serial.Serial
- All Implemented Interfaces:
ObjectStreamConstants, ExtendedObjectStreamConstants
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classprivate static final classprivate static enum -
Field Summary
Fields inherited from interface ExtendedObjectStreamConstants
TC_CLASSTABLEDESC, TC_OBJECTTABLEFields inherited from interface 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 voiddumpBlockData(Map<Integer, Serial.ClassInfo> map, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth) private static voiddumpContent(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) private static Serial.ClassInfodumpDescriptor(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) private static voiddumpFields(Serial.ClassInfo info, Map<Integer, Serial.ClassInfo> map, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth) private static voiddumpObject(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) private static voiddumpStream(DataInputStream serializedData, BufferedWriter destination) static voiddumpStream(InputStream serializedData, Writer destination) private static voiddumpString(Map<Integer, Serial.ClassInfo> descrMap, AtomicInteger seq, DataInputStream dis, BufferedWriter w, int depth, int leadByte) private static voidprintf(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
-