public interface IDwgFileReader
Modifier and Type | Method and Description |
---|---|
void |
read(DwgFile dwgFile,
java.nio.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, java.nio.ByteBuffer bb) throws java.io.IOException
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 wrongint readObjectHeader(int[] data, int offset, DwgObject dwgObject) throws java.lang.RuntimeException, CorruptedDwgEntityException
java.lang.RuntimeException
CorruptedDwgEntityException
int readObjectTailer(int[] data, int offset, DwgObject dwgObject) throws java.lang.RuntimeException, CorruptedDwgEntityException
java.lang.RuntimeException
CorruptedDwgEntityException