|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.file.metadata.FileMetadata
@StableMinor(version="6.2", sinceVersion="6.1") public class FileMetadata
Value object that contains the metadata of a file.
Field Summary |
---|
Fields inherited from interface lumis.portal.fileparser.IFileMetadata |
---|
METADATA_DURATION, METADATA_FORMAT, METADATA_HEIGHT, METADATA_WIDTH |
Constructor Summary | |
---|---|
FileMetadata()
Creates a new FileMetadata. |
Method Summary | |
---|---|
Long |
getDuration()
Returns the duration metadata, in milliseconds. |
String |
getFormat()
Returns the format metadata. |
Integer |
getHeight()
Returns the height metadata. |
Integer |
getWidth()
Returns the width 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 |
setWidth(Integer width)
Sets the width metadata. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileMetadata()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |