public class PathSerializer extends Object
| Constructor and Description |
|---|
PathSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static GeneralPath |
deserializePath(ObjectInput os)
method to deserialize a path from an ObjectInput.
|
static void |
serializePath(ObjectOutput os,
PathIterator pi)
method to serialize a path.
|
public static void serializePath(ObjectOutput os, PathIterator pi) throws IOException
os - - ObjectOutput to write topi - - PathIterator path components to iterate overIOExceptionpublic static GeneralPath deserializePath(ObjectInput os) throws ClassNotFoundException, IOException
os - - ObjectInput that contains the serilized pathClassNotFoundExceptionIOExceptionCopyright © 2017. All rights reserved.