public final class AviFormat extends FormatBase implements IXmp
Represents AVI video format.
GroupDocs.Metadata.Formats.FormatBase
filePath, stream
Constructor and Description |
---|
AviFormat(InputStream input)
Initializes a new instance of the
FormatBase class. |
AviFormat(String fileName)
Initializes a new instance of the
FormatBase class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes metadata from AVI file.
|
AviHeader |
getHeader()
Gets the AVI header.
|
int |
getType()
Gets document type.
|
XmpPacketWrapper |
getXmpData()
Returns the XMP packet.
|
XmpProperties |
getXmpProperties()
Returns all XMP properties presented in specific format.
|
XmpEditableCollection |
getXmpValues()
Gets
XmpEditableCollection . |
boolean |
hasXmp()
Gets
true if file contains XMP metadata. |
void |
removeXmpData()
Removes all XMP data.
|
boolean |
setXmpData(XmpPacketWrapper package_)
Updates XMP packet.
|
dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public AviFormat(String fileName)
Initializes a new instance of the FormatBase
class.
fileName
- Absolute path to the file.public AviFormat(InputStream input)
Initializes a new instance of the FormatBase
class.
input
- File stream.public int getType()
Gets document type.
Value: Document type.getType
in class FormatBase
public final AviHeader getHeader()
Gets the AVI header.
Value: The AVI header.public final boolean hasXmp()
Gets true
if file contains XMP metadata.
true
if file has XMP; otherwise, false
.public final XmpEditableCollection getXmpValues()
Gets XmpEditableCollection
. Provides access for all XMP properties in edit mode.
getXmpValues
in interface IXmp
public final XmpPacketWrapper getXmpData()
Returns the XMP packet.
getXmpData
in interface IXmp
XmpPacketWrapper
if XMP data is presented; otherwise null.public final XmpProperties getXmpProperties()
Returns all XMP properties presented in specific format.
getXmpProperties
in interface IXmp
XmpProperties
if XMP data is presented; otherwise null.public final boolean setXmpData(XmpPacketWrapper package_)
Updates XMP packet.
setXmpData
in interface IXmp
package
- XMP packet wrapper.com.aspose.ms.System.ArgumentNullException
- package;Package could not be nullpublic final void removeXmpData()
Removes all XMP data.
removeXmpData
in interface IXmp
public void cleanMetadata()
Removes metadata from AVI file.
cleanMetadata
in class FormatBase
Copyright © 2017. All rights reserved.