Completed java generator for non-dlr.
Generates discrete files or all in one.