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