com.silverpeas.util
Class MetaData

java.lang.Object
  extended by com.silverpeas.util.MetaData

public class MetaData
extends Object


Method Summary
 String getAuthor()
          Return Author of an Office document
 List<String> getAvailablePropertyNames()
           
protected  BigDecimal getBigDecimal(org.apache.tika.metadata.Property property)
           
 String getComments()
          Return Comments of an Office document
 Date getCreationDate()
          Return CreateDateTime of an Office document
protected  Date getDate(org.apache.tika.metadata.Property property)
           
 Definition getDefinition()
          Return the definition of the file.
 TimeData getDuration()
          Return the duration of the file.
 BigDecimal getFramerate()
          Return the duration of the file.
protected  Integer getInteger(org.apache.tika.metadata.Property property)
           
 String[] getKeywords()
          Return Keywords of an Office document
 Date getLastSaveDateTime()
           
protected  Long getLong(org.apache.tika.metadata.Property property)
           
protected  Long getLong(String propertyName)
           
 MemoryData getMemoryData()
          Return the memory data.
 int getSecurity()
          Return Security of an Office document
 String getSilverId()
          Return SILVERID of an Office document
 String getSilverName()
          Return SILVERNAME of an Office document
 String getSubject()
          Return Subject of an Office document
 String getTitle()
          Return Title of an Office document
 String getValue(String name)
           
protected  Date parseDate(org.apache.tika.metadata.Property property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public String getValue(String name)

getAvailablePropertyNames

public List<String> getAvailablePropertyNames()

getTitle

public String getTitle()
Return Title of an Office document

Returns:
String

getSubject

public String getSubject()
Return Subject of an Office document

Returns:
String

getAuthor

public String getAuthor()
Return Author of an Office document

Returns:
String

getComments

public String getComments()
Return Comments of an Office document

Returns:
String

getSecurity

public int getSecurity()
Return Security of an Office document

Returns:
String

getKeywords

public String[] getKeywords()
Return Keywords of an Office document

Returns:
String

getSilverId

public String getSilverId()
Return SILVERID of an Office document

Returns:
String

getSilverName

public String getSilverName()
Return SILVERNAME of an Office document

Returns:
String

getLastSaveDateTime

public Date getLastSaveDateTime()

getCreationDate

public Date getCreationDate()
Return CreateDateTime of an Office document


getDefinition

public Definition getDefinition()
Return the definition of the file.


getFramerate

public BigDecimal getFramerate()
Return the duration of the file.


getDuration

public TimeData getDuration()
Return the duration of the file.


getMemoryData

public MemoryData getMemoryData()
Return the memory data.


getDate

protected Date getDate(org.apache.tika.metadata.Property property)

getInteger

protected Integer getInteger(org.apache.tika.metadata.Property property)

getLong

protected Long getLong(org.apache.tika.metadata.Property property)

getLong

protected Long getLong(String propertyName)

getBigDecimal

protected BigDecimal getBigDecimal(org.apache.tika.metadata.Property property)

parseDate

protected Date parseDate(org.apache.tika.metadata.Property property)


Copyright © 2016 Silverpeas. All Rights Reserved.