Scanner : Java Glossary

Scanner
A class for breaking a stream of characters into tokens using regex expressions to describe where to make the splits. It is also capable of converting the String tokens into ints, longs etc. The source of the data could be a String, a file, an encoded file, or an InputStream or a ReadableByteChannel.

Scanner fills much the same niche as CSV files. I prefer CSV (Comma Separated Value) to Scanner since it does need to reserve magic separator characters that cannot occur in data.

Learning More

Oracle’s Javadoc on Scanner class : available:

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/scanner.html J:\mindprod\jgloss\scanner.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.210]
You are visitor number 13,213.