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