@StableMinor(version="12.3", sinceVersion="6.1") public class FileMetadata extends Object implements IFileMetadata
METADATA_DURATION, METADATA_FORMAT, METADATA_HEIGHT, METADATA_WIDTH
Constructor and Description |
---|
FileMetadata()
Creates a new FileMetadata.
|
FileMetadata(FileMacrotype macroType)
Creates a new FileMetadata.
|
Modifier and Type | Method and Description |
---|---|
Double |
getAudioBitRate()
Returns the audio bit rate metadata.
|
Integer |
getAudioChannels()
Returns the number of audio channels metadata.
|
Integer |
getAudioSamplingRate()
Returns the audio sampling rate metadata.
|
Integer |
getColorDepth()
Returns the color depth metadata.
|
Long |
getDuration()
Returns the duration metadata, in milliseconds.
|
String |
getFormat()
Returns the format metadata.
|
Integer |
getHeight()
Returns the height metadata.
|
FileMacrotype |
getMacroType()
Returns the file macro type.
|
Double |
getVideoFrameRate()
Returns the video frame rate metadata.
|
Integer |
getWidth()
Returns the width metadata.
|
void |
setAudioBitRate(Double audioBitRate)
Sets the audio bit rate metadata.
|
void |
setAudioChannels(Integer audioChannels)
Sets the number of audio channels metadata.
|
void |
setAudioSamplingRate(Integer audioSamplingRate)
Sets the audio sampling rate metadata.
|
void |
setColorDepth(Integer colorDepth)
Sets the color depth metadata.
|
void |
setDuration(Long duration)
Sets the duration metadata, in milliseconds.
|
void |
setFormat(String format)
Sets the format metadata.
|
void |
setHeight(Integer height)
Sets the height metadata.
|
void |
setVideoFrameRate(Double videoFrameRate)
Sets the video frame rate metadata.
|
void |
setWidth(Integer width)
Sets the width metadata.
|
public FileMetadata()
public FileMetadata(FileMacrotype macroType)
public Integer getHeight()
getHeight
in interface IFileMetadata
null
if it is unknown or
not applicable.public void setHeight(Integer height)
height
- the height, or null
if it is unknown or
not applicable.public Integer getWidth()
getWidth
in interface IFileMetadata
null
if it is unknown or
not applicable.public void setWidth(Integer width)
width
- the width, or null
if it is unknown or
not applicable.public Long getDuration()
IFileMetadata
getDuration
in interface IFileMetadata
null
if it is unknown or
not applicable.public void setDuration(Long duration)
duration
- the duration in milliseconds, or null
if it is unknown or
not applicable.public String getFormat()
IFileMetadata
getFormat
in interface IFileMetadata
null
if it is unknown or
not applicable.public void setFormat(String format)
format
- the format, or null
if it is unknown or
not applicable.public Integer getColorDepth()
IFileMetadata
null
if it is
unknown or not applicable.public void setColorDepth(Integer colorDepth)
colorDepth
- the color depth, in bits per pixel, or
null
if it is unknown or not applicable.public Double getVideoFrameRate()
IFileMetadata
null
if it
is unknown or not applicable.public void setVideoFrameRate(Double videoFrameRate)
the
- video frame rate in frames per second, in bits per pixel, or
null
if it is unknown or not applicable.public Double getAudioBitRate()
IFileMetadata
null
if it
is unknown or not applicable.public void setAudioBitRate(Double audioBitRate)
the
- audio bit rate in kilobits per second, or
null
if it is unknown or not applicable.public Integer getAudioSamplingRate()
IFileMetadata
null
if it
is unknown or not applicable.public void setAudioSamplingRate(Integer audioSamplingRate)
the
- audio sampling rate in Hz, or
null
if it is unknown or not applicable.public Integer getAudioChannels()
IFileMetadata
null
if it
is unknown or not applicable.public void setAudioChannels(Integer audioChannels)
the
- number of audio channels, or
null
if it is unknown or not applicable.public FileMacrotype getMacroType()
FileMacrotype
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.