wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes EOF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "EOF" Watch "EOF" New topic
Author

EOF

prabaha reddy
Greenhorn

Joined: Dec 16, 2004
Posts: 13
how to capture EOF in java
Vicken Karaoghlanian
Ranch Hand

Joined: Jul 21, 2003
Posts: 522
Try using the readLine() method and compare it to 'null'



- Do not try and bend the spoon. That's impossible. Instead, only try to realize the truth. - What truth? - That there is no spoon!!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EOF