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, setProperties
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.
Value: Document type.getType
in class FormatBase
public VisioMetadata getDocumentProperties()
Gets the document properties.
Value: The document properties.getDocumentProperties
in class DocumentFormat<VisioMetadata,VisioMetadataProperty,DocumentInfo>
public int getFileType()
Gets the file type like VSX, VSS etc.
Value: The file type.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 © 2017. All rights reserved.