com.atlassian.jira.web.bean
Class ApplicationPropertiesBackedNonZipExpandableExtensions
java.lang.Object
   com.atlassian.jira.web.bean.ApplicationPropertiesBackedNonZipExpandableExtensions
com.atlassian.jira.web.bean.ApplicationPropertiesBackedNonZipExpandableExtensions
- All Implemented Interfaces: 
- NonZipExpandableExtensions
- public class ApplicationPropertiesBackedNonZipExpandableExtensions 
- extends Object- implements NonZipExpandableExtensions
An implementation of NonZipExpandableExtensions that is backed by a jira application property.
 By default, it includes the MS Office OpenXml extensions and OpenOffice OpenDocument extensions.
- Since:
- v4.2
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ApplicationPropertiesBackedNonZipExpandableExtensions
public ApplicationPropertiesBackedNonZipExpandableExtensions(ApplicationProperties applicationProperties)
getApplicationProperties
public ApplicationProperties getApplicationProperties()
- 
 
- 
 
getNonExpandableExtensionsList
public String getNonExpandableExtensionsList()
- Description copied from interface: NonZipExpandableExtensions
- Returns a comma-separated list of non-expandable file extensions.
 
- 
- Specified by:
- getNonExpandableExtensionsListin interface- NonZipExpandableExtensions
 
- 
- Returns:
- list of non-expandable file extensions.
 
contains
public boolean contains(String extension)
- Description copied from interface: NonZipExpandableExtensions
- Determines whether the specified extension is contained in the the list of file extensions which should not be
 expanded as a zip.
 
- 
- Specified by:
- containsin interface- NonZipExpandableExtensions
 
- 
- Parameters:
- extension- The extension to check. Should not be null
- Returns:
- true, the specified extension is contained in the the list of file extensions which should not be
 expanded as a zip; otherwise, false.
 
Copyright © 2002-2014 Atlassian. All Rights Reserved.