public class BlackListModeration extends Object implements ModerationFilter
| Constructor and Description |
|---|
BlackListModeration(String blackListFile) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get's the name of the Modetation Filter
|
boolean |
needModeration(SocialUgc ugc)
Decide if a UGC have to be moderate
|
public BlackListModeration(String blackListFile) throws SAXException, IOException, ParserConfigurationException, XPathException
public boolean needModeration(SocialUgc ugc)
ModerationFilterneedModeration in interface ModerationFilterugc - Ugc to checkpublic String getName()
ModerationFiltergetName in interface ModerationFilterCopyright © 2019 CrafterCMS. All Rights Reserved.