Package org.smallmind.scribe.pen
Class StaticPatternRule
- java.lang.Object
-
- org.smallmind.scribe.pen.StaticPatternRule
-
- All Implemented Interfaces:
PatternRule
public class StaticPatternRule extends Object implements PatternRule
-
-
Constructor Summary
Constructors Constructor Description StaticPatternRule(String staticField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringconvert(Record<?> record, Timestamp timestamp)StringgetFooter()StringgetHeader()
-
-
-
Constructor Detail
-
StaticPatternRule
public StaticPatternRule(String staticField)
-
-
Method Detail
-
getHeader
public String getHeader()
- Specified by:
getHeaderin interfacePatternRule
-
getFooter
public String getFooter()
- Specified by:
getFooterin interfacePatternRule
-
convert
public String convert(Record<?> record, Timestamp timestamp)
- Specified by:
convertin interfacePatternRule
-
-