org.tagnetic.core.filecontentfilter
Class RegExpFileContentFilter
java.lang.Object
org.tagnetic.core.filecontentfilter.RegExpFileContentFilter
- All Implemented Interfaces:
- FileContentFilter
- public class RegExpFileContentFilter
- extends java.lang.Object
- implements FileContentFilter
|
Method Summary |
java.lang.String |
apply(java.lang.String fileContents)
|
java.lang.String |
getId()
|
void |
init(java.util.HashMap parameters)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kPatternKey
public static final java.lang.String kPatternKey
- See Also:
- Constant Field Values
kReplacementKey
public static final java.lang.String kReplacementKey
- See Also:
- Constant Field Values
RegExpFileContentFilter
public RegExpFileContentFilter()
getId
public java.lang.String getId()
- Specified by:
getId in interface FileContentFilter
init
public void init(java.util.HashMap parameters)
throws TagneticException
- Specified by:
init in interface FileContentFilter
- Throws:
TagneticException
apply
public java.lang.String apply(java.lang.String fileContents)
throws TagneticException
- Specified by:
apply in interface FileContentFilter
- Throws:
TagneticException
Copyright © 2005 tagnetic.org. All Rights Reserved.