@Deprecated public final class DxfFormat extends FormatBase
Represents an AutoCAD DFX (Drawing Exchange Format) file.
Constructor and Description |
---|
DxfFormat(InputStream input)
Deprecated.
Initializes a new instance of the
DxfFormat class. |
DxfFormat(String fileName)
Deprecated.
Initializes a new instance of the
DxfFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Deprecated.
Removes writable metadata properties associated with the file.
|
protected void |
dispose(boolean disposing)
Deprecated.
Releases unmanaged and optionally managed resources.
|
CadMetadata |
getDfxMetadata()
Deprecated.
Retrieves the DXF metadata.
|
int |
getType()
Deprecated.
Gets the type of the loaded file.
|
close, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public DxfFormat(String fileName)
Initializes a new instance of the DxfFormat
class.
fileName
- A string that contains the full name of the file from which to create a DxfFormat
instance.public DxfFormat(InputStream input)
Initializes a new instance of the DxfFormat
class.
input
- A stream that contains the data for this DwgFormat
.public int getType()
Gets the type of the loaded file.
getType
in class FormatBase
public void cleanMetadata()
Removes writable metadata properties associated with the file. Metadata cleaning is not supported for this format.
cleanMetadata
in class FormatBase
public final CadMetadata getDfxMetadata()
Retrieves the DXF metadata.
CadMetadata
package extracted from the file.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 © 2020. All rights reserved.