public final class DxfFormat extends FormatBase
Represents AutoCAD DFX format.
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.
|
protected void |
dispose(boolean disposing)
Releases unmanaged and optionally managed resources.
|
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
protected void dispose(boolean disposing)
Releases unmanaged and optionally managed resources.
dispose
in class FormatBase
disposing
- true
to release both managed and unmanaged resources;
false
to release only unmanaged resources.Copyright © 2019. All rights reserved.