public interface AttachmentTypeBlacklistService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getBlacklist(java.lang.String[] overrideBlacklist)
Returns the default blacklist, or the supplied override blacklist.
|
boolean |
reject(AttachmentDataSource attachmentDataSource)
Checks the attachment against the blacklist.
|
static final java.lang.String DEFAULT
java.lang.String[] getBlacklist(java.lang.String[] overrideBlacklist)
overrideBlacklist - any existing blacklist which should override the default.boolean reject(AttachmentDataSource attachmentDataSource)
attachmentDataSource - the attachment to check."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"