public final class DwgFormat extends FormatBase
Represents binary DWG format.
filePath, stream
Constructor and Description |
---|
DwgFormat(InputStream input)
Initializes a new instance of the
DwgFormat class. |
DwgFormat(String fileName)
Initializes a new instance of the
DwgFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes metadata.
|
CadMetadata |
getDwgMetadata()
Retrieves the DWG metadata.
|
int |
getType()
Gets document type.
|
close, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public DwgFormat(String fileName)
Initializes a new instance of the DwgFormat
class.
fileName
- Absolute path to the file.public DwgFormat(InputStream input)
Initializes a new instance of the DwgFormat
class.
input
- File stream.public int getType()
Gets document type.
getType
in class FormatBase
public void cleanMetadata()
Removes metadata. Not supported for current format.
cleanMetadata
in class FormatBase
public final CadMetadata getDwgMetadata()
Retrieves the DWG metadata.
CadMetadata
Copyright © 2018. All rights reserved.