org.tagnetic.core.filecontentfilter
Class RegExpFileContentFilter

java.lang.Object
  extended byorg.tagnetic.core.filecontentfilter.RegExpFileContentFilter
All Implemented Interfaces:
FileContentFilter

public class RegExpFileContentFilter
extends java.lang.Object
implements FileContentFilter


Field Summary
static java.lang.String kPatternKey
           
static java.lang.String kReplacementKey
           
 
Constructor Summary
RegExpFileContentFilter()
           
 
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
 

Field Detail

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
Constructor Detail

RegExpFileContentFilter

public RegExpFileContentFilter()
Method Detail

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.