@Deprecated public final class AsfFormat extends FormatBase implements IXmp
Represents an ASF video file.
Constructor and Description |
---|
AsfFormat(InputStream input)
Deprecated.
|
AsfFormat(String fileName)
Deprecated.
Initializes a new instance of the
AsfFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Deprecated.
Removes writable metadata properties associated with the file.
|
AsfMetadata |
getAsfInfo()
Deprecated.
Gets the ASF native metadata.
|
DublinCoreMetadata |
getDublinCore()
Deprecated.
Retrieves the Dublin Core metadata.
|
int |
getType()
Deprecated.
Gets the type of the loaded file.
|
XmpPacketWrapper |
getXmpData()
Deprecated.
Returns the XMP packet.
|
XmpProperties |
getXmpProperties()
Deprecated.
Returns all XMP properties presented in a specific format.
|
XmpEditableCollection |
getXmpValues()
Deprecated.
Gets a collection containing the XMP metadata properties.
|
boolean |
hasXmp()
Deprecated.
Gets a value indicating whether the file contains XMP metadata.
|
void |
removeXmpData()
Deprecated.
Removes the XMP metadata.
|
boolean |
setXmpData(XmpPacketWrapper package_)
Deprecated.
Updates the XMP packet.
|
close, dispose, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public AsfFormat(String fileName)
Initializes a new instance of the AsfFormat
class.
fileName
- A string that contains the full name of the file from which to create an AsfFormat
instance.public AsfFormat(InputStream input)
public int getType()
Gets the type of the loaded file.
getType
in class FormatBase
public final AsfMetadata getAsfInfo()
Gets the ASF native metadata.
public final boolean hasXmp()
Gets a value indicating whether the file contains XMP metadata.
public final XmpEditableCollection getXmpValues()
Gets a collection containing the XMP metadata properties. Provides access to all XMP properties in edit mode.
getXmpValues
in interface IXmp
public void cleanMetadata()
Removes writable metadata properties associated with the file.
cleanMetadata
in class FormatBase
public final XmpPacketWrapper getXmpData()
Returns the XMP packet.
getXmpData
in interface IXmp
XmpPacketWrapper
if the file contains an XMP metadata package; otherwise, null.public final XmpProperties getXmpProperties()
Returns all XMP properties presented in a specific format.
getXmpProperties
in interface IXmp
XmpProperties
if the file contains an XMP metadata package; otherwise, null.public final boolean setXmpData(XmpPacketWrapper package_)
Updates the XMP packet.
setXmpData
in interface IXmp
package
- An XMP packet wrapper.true
if the XMP package is successfully updated; otherwise, false.public final void removeXmpData()
Removes the XMP metadata.
removeXmpData
in interface IXmp
public final DublinCoreMetadata getDublinCore()
Retrieves the Dublin Core metadata.
getDublinCore
in interface IDublinCore
DublinCoreMetadata
if the appropriate package is found; otherwise, null.Copyright © 2020. All rights reserved.