com.flagstone.transform.shape
Class ShapeDecoder
java.lang.Object
com.flagstone.transform.shape.ShapeDecoder
- All Implemented Interfaces:
- SWFFactory<ShapeRecord>
public final class ShapeDecoder
- extends Object
- implements SWFFactory<ShapeRecord>
ShapeDecoder is used to decode the ShapeRecords that describe how a
Shape is drawn.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShapeDecoder
public ShapeDecoder()
getObject
public void getObject(List<ShapeRecord> list,
SWFDecoder coder,
Context context)
throws IOException
- Decode and return a Flash object.
- Specified by:
getObject
in interface SWFFactory<ShapeRecord>
- Parameters:
list
- the list where the decoded object will be added.coder
- an decoder wrapping the binary encoded flash data.context
- a Context object used to share information between
the code that decodes the different types of object.
- Throws:
IOException
- if an error occurs decoding the object.
Copyright © 2002-2010 Flagstone Software Ltd.. All Rights Reserved.