public class DwgFileV12Reader extends java.lang.Object implements IDwgFileReader
Constructor and Description |
---|
DwgFileV12Reader(boolean isR13) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getString() |
org.gvsig.dwg.lib.readers.DwgFileV12Reader.Dwg12Table |
getTable() |
org.gvsig.dwg.lib.readers.DwgFileV12Reader.Dwg12TableTest |
getTableTest() |
void |
read(DwgFile dwgFile,
java.nio.ByteBuffer bb)
Reads all the DWG format versions
|
void |
readHeader() |
int |
readObjectHeader(int[] data,
int offset,
DwgObject dwgObject)
Reads the header of a dwg object
|
int |
readObjectTailer(int[] data,
int offset,
DwgObject dwgObject)
Reads the tailer of a dwg object.
|
public void read(DwgFile dwgFile, java.nio.ByteBuffer bb) throws java.io.IOException
IDwgFileReader
read
in interface IDwgFileReader
dwgFile
- Represents the DWG file that we want to readbb
- Memory mapped byte buffer of the whole DWG filejava.io.IOException
- When DWG file path is wrongpublic java.lang.String getString()
public void readHeader()
public org.gvsig.dwg.lib.readers.DwgFileV12Reader.Dwg12Table getTable()
public org.gvsig.dwg.lib.readers.DwgFileV12Reader.Dwg12TableTest getTableTest()
public int readObjectHeader(int[] data, int offset, DwgObject dwgObject) throws java.lang.RuntimeException, CorruptedDwgEntityException
IDwgFileReader
readObjectHeader
in interface IDwgFileReader
java.lang.RuntimeException
CorruptedDwgEntityException
public int readObjectTailer(int[] data, int offset, DwgObject dwgObject) throws java.lang.RuntimeException, CorruptedDwgEntityException
IDwgFileReader
readObjectTailer
in interface IDwgFileReader
java.lang.RuntimeException
CorruptedDwgEntityException