From 5f3fb9afece2125cbeba79d61a8d88460b7878d7 Mon Sep 17 00:00:00 2001 From: Joshua Rahm Date: Tue, 27 Jan 2015 18:40:32 -0700 Subject: initial commit --- .../dataread/expressions/StatementFormatter.java | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 project/JavaCommon/src/com/modulus/dataread/expressions/StatementFormatter.java (limited to 'project/JavaCommon/src/com/modulus/dataread/expressions/StatementFormatter.java') diff --git a/project/JavaCommon/src/com/modulus/dataread/expressions/StatementFormatter.java b/project/JavaCommon/src/com/modulus/dataread/expressions/StatementFormatter.java new file mode 100644 index 0000000..8070034 --- /dev/null +++ b/project/JavaCommon/src/com/modulus/dataread/expressions/StatementFormatter.java @@ -0,0 +1,26 @@ +package com.modulus.dataread.expressions; + +import java.io.Serializable; + +/** + * Classes that implement this interface are used + * to format string before they become a part of + * a statement. + * + * These classes are the classes responsible for making + * sure the headers are formatted in such a way that they might + * be easy to parse. + * + * @author jrahm + */ +public interface StatementFormatter extends Serializable{ + /** + * Given the String header as a header of a statement, + * format it so it can easily be parsed by custom parsing + * techniques. + * + * @param header the header to parse + * @return a formatted version of the header. + */ + String formatHeader(String header); +} -- cgit