com.mindfusion.diagramming
Class Serialization
java.lang.Object
com.mindfusion.diagramming.Serialization
public class Serialization
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Serialization
public Serialization()
writePoint
public static void writePoint(java.io.ObjectOutput out,
java.awt.geom.Point2D point)
throws java.io.IOException
- Throws:
java.io.IOException
readPoint
public static java.awt.geom.Point2D.Float readPoint(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeRect
public static void writeRect(java.io.ObjectOutput out,
java.awt.geom.Rectangle2D rect)
throws java.io.IOException
- Throws:
java.io.IOException
readRect
public static java.awt.geom.Rectangle2D.Float readRect(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeAnchorPattern
public static void writeAnchorPattern(java.io.ObjectOutput out,
AnchorPattern ap)
throws java.io.IOException
- Throws:
java.io.IOException
readAnchorPattern
public static AnchorPattern readAnchorPattern(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeShape
public static void writeShape(java.io.ObjectOutput out,
Shape shape)
throws java.io.IOException
- Throws:
java.io.IOException
readShape
public static Shape readShape(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeTextFormat
public static void writeTextFormat(java.io.ObjectOutput out,
TextFormat textFormat)
throws java.io.IOException
- Throws:
java.io.IOException
readTextFormat
public static TextFormat readTextFormat(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
writeTag
public static void writeTag(java.io.ObjectOutput out,
java.lang.Object tag)
throws java.io.IOException
- Throws:
java.io.IOException
readTag
public static java.lang.Object readTag(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException