aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes A simple question? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "A simple question?" Watch "A simple question?" New topic
Author

A simple question?

okhand
Greenhorn

Joined: Jan 13, 2002
Posts: 2
Who can tell me what the difference between out.clear() and out.clearBuffer() is? Please give me the examples in details. Thanks.
YanNaing WTint
Ranch Hand

Joined: Oct 30, 2001
Posts: 40
Both clear the contents of the buffer. clearBuffer() merely clears the buffer but doesn't throw IOException if the buffer has already been flushed when clear() does.
BTW, pls revisit the Policies of login name and displayed name when you registered. "Use a fist name, a space, and a last name. No commas or underscores, and the last name must be more than one letter. Obviously fictitious names or improperly formatted names may be locked out. "


Yan Naing Wynn Tint (SCJP2, SCWCD)
 
IntelliJ Java IDE
 
subject: A simple question?
 
Threads others viewed
acronym atrocity
13 Nov Riddle
How many Brits and Europeans on this board?
A Challenge!
Google India CodeJam
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com