@Deprecated public final class VisioFormat extends DocumentFormat<VisioMetadata,VisioMetadataProperty,DocumentInfo>
Represents a Microsoft Visio diagram.
Constructor and Description |
---|
VisioFormat(InputStream input)
Deprecated.
Initializes a new instance of the
VisioFormat class. |
VisioFormat(String fileName)
Deprecated.
Initializes a new instance of the
VisioFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Deprecated.
Removes metadata found in the document.
|
protected void |
dispose(boolean disposing)
Deprecated.
Releases unmanaged and optionally managed resources.
|
int |
getType()
Deprecated.
Gets the type of the loaded file.
|
clearBuiltInProperties, clearCustomProperties, extractDocumentProperties, getDocumentInfo, getDocumentProperties, getFileType, getThumbnail, readDocumentPropertyByKey, readPropertyByName, readThumbnail, setProperties
close, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public VisioFormat(String fileName)
Initializes a new instance of the VisioFormat
class.
fileName
- A string that contains the full name of the file from which to create a VisioFormat
instance.public VisioFormat(InputStream input)
Initializes a new instance of the VisioFormat
class.
input
- A stream that contains the data for this VisioFormat
.public int getType()
Gets the type of the loaded file.
getType
in class FormatBase
public void cleanMetadata()
Removes metadata found in the document.
cleanMetadata
in class FormatBase
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.