public final class VisioFormat extends DocumentFormat<VisioMetadata,VisioMetadataProperty,DocumentInfo>
Represents MS Visio format.
filePath, stream
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.
|
VisioMetadata |
getDocumentProperties()
Gets the document properties.
|
int |
getFileType()
Gets the file type like VSX, VSS etc.
|
int |
getType()
Gets document type.
|
clearBuiltInProperties, extractDocumentProperties, getDocumentInfo, 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 VisioMetadata getDocumentProperties()
Gets the document properties.
getDocumentProperties
in class DocumentFormat<VisioMetadata,VisioMetadataProperty,DocumentInfo>
public int getFileType()
Gets the file type like VSX, VSS etc.
getFileType
in class DocumentFormat<VisioMetadata,VisioMetadataProperty,DocumentInfo>
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>
Copyright © 2018. All rights reserved.