diff options
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/parserutils/StackBasedConfigReader.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/parserutils/StackBasedConfigReader.java | 37 |
1 files changed, 37 insertions, 0 deletions
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 + } + +} |
