I'm trying to read in a .java file then output it with highlighted keywords etc. as an HTML file. I obvoiusly want to keep the formating but don't know how to use Scanner to return the whitspace between the tokens.
is it possible or do i need to try another another approach.