public class EmailPatternRegularExpressionRemovalListener extends Object implements RemovalListener
Constructor and Description |
---|
EmailPatternRegularExpressionRemovalListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeRemoved(String strId)
Check if the object can be safely removed
|
String |
getRemovalRefusedMessage(String strId,
Locale locale)
Gives a message explaining why the object can't be removed
|
public EmailPatternRegularExpressionRemovalListener()
public boolean canBeRemoved(String strId)
canBeRemoved
in interface RemovalListener
strId
- The object idpublic String getRemovalRefusedMessage(String strId, Locale locale)
getRemovalRefusedMessage
in interface RemovalListener
strId
- The object idlocale
- The current localeCopyright © 2020 City of Paris. All rights reserved.