org.silverpeas.attachment.util
Class AttachmentSettings

java.lang.Object
  extended by org.silverpeas.attachment.util.AttachmentSettings

public class AttachmentSettings
extends Object

Handled the settings around the attachments.


Constructor Summary
AttachmentSettings()
           
 
Method Summary
static boolean isUseFileMetadataForAttachmentDataEnabled()
          Indicates if metadata of a file, if any, can be used to fill data (title & description) of an attachment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentSettings

public AttachmentSettings()
Method Detail

isUseFileMetadataForAttachmentDataEnabled

public static boolean isUseFileMetadataForAttachmentDataEnabled()
Indicates if metadata of a file, if any, can be used to fill data (title & description) of an attachment. (defined in properties by attachment.data.fromMetadata)

Returns:
true if they must be used, false otherwise.


Copyright © 2016 Silverpeas. All Rights Reserved.