My problem is, that I want to parse binary files of different types with a generic parser which is implemented in JAVA. Maybe describing the file format with a configuration
Parser combinator library is an option. JParsec works fine, however it could be slow.