public final class VisioFormat extends DocumentFormat<VisioMetadata,VisioMetadataProperty,DocumentInfo>
Represents MS Visio format.
Constructor and Description |
---|
VisioFormat(InputStream input)
Initializes a new instance of the
VisioFormat class. |
VisioFormat(String fileName)
Initializes a new instance of the
VisioFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes all custom properties and resets built-in properties to the default state.
|
void |
clearCustomProperties()
Clears the custom properties.
|
protected void |
dispose(boolean disposing)
Releases unmanaged and optionally managed resources.
|
int |
getType()
Gets document type.
|
clearBuiltInProperties, 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
- The filename.public VisioFormat(InputStream input)
Initializes a new instance of the VisioFormat
class.
input
- The input.public int getType()
Gets document type.
getType
in class FormatBase
public void cleanMetadata()
Removes all custom properties and resets built-in properties to the default state.
cleanMetadata
in class FormatBase
GroupDocsException
- Could not clean metadata properties.
public void clearCustomProperties()
Clears the custom properties.
clearCustomProperties
in class DocumentFormat<VisioMetadata,VisioMetadataProperty,DocumentInfo>
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.