From 87ae1dfc8d8cb7b51d7bda4750ce841bbe691cfc Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Sat, 7 May 2016 12:51:23 -0400 Subject: General changes --- .../utils/parserutils/StackBasedConfigReader.java | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 BJC-Utils2/src/main/java/bjc/utils/parserutils/StackBasedConfigReader.java (limited to 'BJC-Utils2/src/main/java/bjc/utils/parserutils/StackBasedConfigReader.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/parserutils/StackBasedConfigReader.java b/BJC-Utils2/src/main/java/bjc/utils/parserutils/StackBasedConfigReader.java new file mode 100644 index 0000000..2d15711 --- /dev/null +++ b/BJC-Utils2/src/main/java/bjc/utils/parserutils/StackBasedConfigReader.java @@ -0,0 +1,37 @@ +package bjc.utils.parserutils; + +/** + * This class parses a config file written in RPN and uses it to construct + * data items + * + * @author ben + * + * TODO implement me + */ +public class StackBasedConfigReader { + public static interface IItem { + public ItemType getType(); + } + + /** + * Represents the types of item that can be found on stacks + * + * @author ben + * + */ + public static enum ItemType { + /** + * Represents an integral number + */ + INTEGER, + /** + * Represents a string of characters + */ + STRING, + /** + * Represents an arbitrary object + */ + OBJECT + } + +} -- cgit v1.2.3