EOL : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

EOL
EOL (End Of Line). In Java, usually the end of line is marked by \n (0x0a). In native files, sometimes end of line is marked by \r\n 0x0d 0x0a. (e.g. in Windows systems which hark back to the teletype which had to be told separately to move the printhead to the left margin and one line down.) If you use a DataOutputStream, there will be no special marker unless you put one there. To code in a platform-independent way use:
String eol = System.getProperty(line.separator);
Note the spelling. 80% of programmers are under the delusion separator is spelled seperator. The println, newLine and readLine methods should let you ignore the problem of local newline conventions.

Sometimes means EOL (End-of-Life).


This page is posted
on the web at:

http://mindprod.com/jgloss/eol.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\eol.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.15.192.89]
You are visitor number