ilog.views.dxf
Class IlvDXFInputStream
java.lang.Object
ilog.views.io.IlvInputStream
ilog.views.dxf.IlvDXFInputStream
public class IlvDXFInputStream
- extends IlvInputStream
This class is an IlvInputStream that allows you to read the
contents of a DXF file.
- Since:
- JViews 8.0
- See Also:
IlvDXFStreamFactory
|
Method Summary |
void |
read(IlvGraphicBag bag)
Reads the IlvDXFInputStream and puts the read objects into the
given IlvGraphicBag. |
| Methods inherited from class ilog.views.io.IlvInputStream |
getDocumentBase, getGraphicBag, getObjects, invokeConstructor, isASCIIMode, readBoolean, readBooleanArray, readColor, readColorArray, readDouble, readDoubleArray, readExtensions, readFloat, readFloatArray, readFont, readFontArray, readGradient, readInt, readIntArray, readLong, readLongArray, readObject, readObject, readObjectArray, readObjects, readPattern, readPersistentObject, readPersistentObjects, readPoint, readPointArray, readRect, readRectArray, readShape, readShort, readShortArray, readString, readStringArray, readStroke, readTexture, readTransformer, readTransformerArray, registerGraphic, setCopyPasteMode, setDocumentBase |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlvDXFInputStream
public IlvDXFInputStream(InputStream stream,
IlvDXFStreamFactory factory)
- Creates an
IlvDXFInputStream from an InputStream and
linked to an IlvDXFStreamFactory. The factory could be
null, in which case the default options will be used.
- Parameters:
stream - The input stream.factory - The DXF stream factory.- See Also:
IlvDXFStreamFactory
read
public void read(IlvGraphicBag bag)
throws IOException,
IlvReadFileException
- Reads the
IlvDXFInputStream and puts the read objects into the
given IlvGraphicBag.
- Overrides:
read in class IlvInputStream
- Parameters:
bag - The IlvGraphicBag in which objects will be added.
- Throws:
IOException - if there are any I/O errors.
IlvReadFileException - if the DXF file is not correctly
formatted.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.