Added ProcessText solution to ease the migration from C++ to Java of enums and int to string mappings