This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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. <br />- What truth? <br />- That there is no spoon!!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EOF
 
Similar Threads
EOF character in java
when end of stream is found?
EOF in Java, does it exist???
EOF?
stored procedure