public class IlvDXFInputStream extends IlvInputStream
IlvInputStream
that allows you to read the
contents of a DXF file.IlvDXFStreamFactory
Constructor and Description |
---|
IlvDXFInputStream(InputStream stream,
IlvDXFStreamFactory factory)
Creates an
IlvDXFInputStream from an InputStream and
linked to an IlvDXFStreamFactory . |
Modifier and Type | Method and Description |
---|---|
void |
read(IlvGraphicBag bag)
Reads the
IlvDXFInputStream and puts the read objects into the
given IlvGraphicBag . |
getDocumentBase, getGraphicBag, getObjects, getVersion, invokeConstructor, isASCIIMode, isDoubleVersion, readBoolean, readBooleanArray, readColor, readColorArray, readComponentOrientation, readDouble, readDoubleArray, readDoubleOrFloat, readDoubleOrFloatArray, readExtensions, readFloat, readFloatArray, readFont, readFontArray, readGradient, readInt, readIntArray, readLocale, readLong, readLongArray, readObject, readObject, readObjectArray, readObjects, readPaint, readPattern, readPersistentObject, readPersistentObjects, readPoint, readPointArray, readRect, readRectArray, readShape, readShort, readShortArray, readString, readStringArray, readStroke, readTexture, readTransformer, readTransformerArray, readULocale, registerGraphic, setCopyPasteMode, setDocumentBase, setVersion
public IlvDXFInputStream(InputStream stream, IlvDXFStreamFactory factory)
IlvDXFInputStream
from an InputStream
and
linked to an IlvDXFStreamFactory
. The factory could be
null
, in which case the default options will be used.stream
- The input stream.factory
- The DXF stream factory.IlvDXFStreamFactory
public void read(IlvGraphicBag bag) throws IOException, IlvReadFileException
IlvDXFInputStream
and puts the read objects into the
given IlvGraphicBag
.read
in class IlvInputStream
bag
- The IlvGraphicBag
in which objects will be added.IOException
- if there are any I/O errors.IlvReadFileException
- if the DXF file is not correctly
formatted.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.