lumis.portal.file.metadata
Class FileMetadata

Package class diagram package FileMetadata
java.lang.Object
  extended by lumis.portal.file.metadata.FileMetadata
All Implemented Interfaces:
IFileMetadata

@StableMinor(version="6.2",
             sinceVersion="6.1")
public class FileMetadata
extends Object
implements IFileMetadata

Value object that contains the metadata of a file.

Since:
6.1.0

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

FileMetadata

public FileMetadata()
Creates a new FileMetadata.

Since:
6.1.0
Method Detail

getHeight

public Integer getHeight()
Returns the height metadata.

Specified by:
getHeight in interface IFileMetadata
Returns:
the height metadata, or null if it is unknown or not applicable.
Since:
6.1.0

setHeight

public void setHeight(Integer height)
Sets the height metadata.

Parameters:
height - the height, or null if it is unknown or not applicable.
Since:
6.1.0

getWidth

public Integer getWidth()
Returns the width metadata.

Specified by:
getWidth in interface IFileMetadata
Returns:
the width metadata, or null if it is unknown or not applicable.
Since:
6.1.0

setWidth

public void setWidth(Integer width)
Sets the width metadata.

Parameters:
width - the width, or null if it is unknown or not applicable.
Since:
6.1.0

getDuration

public Long getDuration()
Description copied from interface: IFileMetadata
Returns the duration metadata, in milliseconds.

Specified by:
getDuration in interface IFileMetadata
Returns:
the duration in milliseconds, or null if it is unknown or not applicable.

setDuration

public void setDuration(Long duration)
Sets the duration metadata, in milliseconds.

Parameters:
duration - the duration in milliseconds, or null if it is unknown or not applicable.
Since:
6.1.0

getFormat

public String getFormat()
Description copied from interface: IFileMetadata
Returns the format metadata.

Specified by:
getFormat in interface IFileMetadata
Returns:
the format, or null if it is unknown or not applicable.

setFormat

public void setFormat(String format)
Sets the format metadata.

Parameters:
format - the format, or null if it is unknown or not applicable.
Since:
6.1.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.