Package lumis.portal.file.metadata
Interface IFileMetadata
-
- All Superinterfaces:
IFileMetadata
- All Known Implementing Classes:
FileMetadata
@StableMinor(version="16.1", sinceVersion="6.1") public interface IFileMetadata extends IFileMetadata
Provides the metadata of a file.- Since:
- 6.1.0
- Version:
- $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
-
-
Field Summary
-
Fields inherited from interface lumis.portal.fileparser.IFileMetadata
METADATA_DURATION, METADATA_FORMAT, METADATA_HEIGHT, METADATA_WIDTH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Double
getAudioBitRate()
Returns the audio bit rate metadata.java.lang.Integer
getAudioChannels()
Returns the number of audio channels metadata.java.lang.Integer
getAudioSamplingRate()
Returns the audio sampling rate metadata.java.lang.Integer
getColorDepth()
Returns the color depth metadata.java.lang.Long
getDuration()
Returns the duration metadata, in milliseconds.java.lang.String
getFormat()
Returns the format metadata.java.lang.Integer
getHeight()
Returns the height metadata.FileMacrotype
getMacroType()
Returns the macro type metadata.java.lang.Double
getVideoFrameRate()
Returns the video frame rate metadata.java.lang.Integer
getWidth()
Returns the width metadata.
-
-
-
Method Detail
-
getDuration
java.lang.Long getDuration()
Returns the duration metadata, in milliseconds.- Specified by:
getDuration
in interfaceIFileMetadata
- Returns:
- the duration in milliseconds, or
null
if it is unknown or not applicable. - Since:
- 6.1.0
-
getHeight
java.lang.Integer getHeight()
Returns the height metadata.- Specified by:
getHeight
in interfaceIFileMetadata
- Returns:
- the height metadata, or
null
if it is unknown or not applicable. - Since:
- 6.1.0
-
getWidth
java.lang.Integer getWidth()
Returns the width metadata.- Specified by:
getWidth
in interfaceIFileMetadata
- Returns:
- the width metadata, or
null
if it is unknown or not applicable. - Since:
- 6.1.0
-
getFormat
java.lang.String getFormat()
Returns the format metadata.- Specified by:
getFormat
in interfaceIFileMetadata
- Returns:
- the format, or
null
if it is unknown or not applicable. - Since:
- 6.1.0
-
getColorDepth
java.lang.Integer getColorDepth()
Returns the color depth metadata.- Returns:
- the color depth, in bits per pixel, or
null
if it is unknown or not applicable. - Since:
- 7.0.0
-
getVideoFrameRate
java.lang.Double getVideoFrameRate()
Returns the video frame rate metadata.- Returns:
- the video frame rate in frames per second, or
null
if it is unknown or not applicable. - Since:
- 7.0.0
-
getAudioBitRate
java.lang.Double getAudioBitRate()
Returns the audio bit rate metadata.- Returns:
- the audio bit rate in kilobits per second, or
null
if it is unknown or not applicable. - Since:
- 7.0.0
-
getAudioSamplingRate
java.lang.Integer getAudioSamplingRate()
Returns the audio sampling rate metadata.- Returns:
- the audio sampling rate in Hz, or
null
if it is unknown or not applicable. - Since:
- 7.0.0
-
getAudioChannels
java.lang.Integer getAudioChannels()
Returns the number of audio channels metadata.- Returns:
- the number of audio channels, or
null
if it is unknown or not applicable. - Since:
- 7.0.0
-
getMacroType
FileMacrotype getMacroType()
Returns the macro type metadata.- Returns:
- the macro type metadata.
- Since:
- 7.0.0
- See Also:
FileMacrotype
-
-