public interface IDwgFileReader
Modifier and Type | Method and Description |
---|---|
void |
read(DwgFile dwgFile,
ByteBuffer bb)
Reads all the DWG format versions
|
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.
|
void read(DwgFile dwgFile, ByteBuffer bb) throws IOException
dwgFile
- Represents the DWG file that we want to readbb
- Memory mapped byte buffer of the whole DWG fileIOException
- When DWG file path is wrongint readObjectHeader(int[] data, int offset, DwgObject dwgObject) throws RuntimeException, CorruptedDwgEntityException
int readObjectTailer(int[] data, int offset, DwgObject dwgObject) throws RuntimeException, CorruptedDwgEntityException