Saral Saxena wrote:Hi Folks,
Is the concept of channel and Nio would also be applicable here...since I am also looking for the fastest way, I have been also doing lot of googling but in terms of performance I thnk channel would be a advantage,,!!
Winston Gutkowski wrote:
Bharath Raja wrote:Thanks for your reply. I have completly understood your point. However I am eager to know that which one of the i/o utilities in java help us to write a file in fastest way?
Why? Unless your answer is simply "because I'd like to know", it would appear that you haven't understood Fred's post at all, because what he's trying to tell you is that it is of little or no practical value to you.
Winston Gutkowski wrote:
However, for what it's worth, Matthew's answer is the one I would have given you too.
Matthew Brown wrote:I'd stick with a BufferedWriter. It's actually designed to improve performance over a straight FileWriter (or similar) by buffering the write actions. For specialised purposes there might be something better, but for general purpose writing of text files it's a good choice.
William Brogden wrote:You do understand that there is a difference between writing a character stream and writing a binary file of bytes, right?
fred rosenberger wrote:performance is the last thing you should be worried about. Disk i/o is going to be slow no matter what. So unless you have some well documented need for performance, and you know that it is the writing of the file that is your bottleneck, you're wasting your time trying to micro-optimize it.
The Certmanager has been decommissioned from 31 May 2011 and the data moved to Oracle database.
We are in the process of transferring all certification data from certmanager.net/sun into the CertView database. We expect that all records will be uploaded by mid July 2011. You will be able to authorize your account, view your certification history, download your logos and verify your certification to a 3rd party at that time. We appreciate your patience.
We strongly urge you to subscribe to our certification blog [‘certification blog’ links to blogs.oracle.com/certification] to stay up-to-date on the most current Oracle Certification Program information. We will announce on the blog when your records become available in CertView. We will also provide detailed instructions on how to authorize your CertView account.
Please feel free to email us with your questions and concerns at email@example.com. Also include your Testing ID in all your mails so that we may assist you with your request at the earliest.
Campbell Ritchie wrote:Eclipse is not a runtime, but a development environment. It uses the standard Java™ API, and any other API you need to download and add to your classpath. When you have finished developing, it should work by [double-]clicking the resultant .jar. Use the same API you would use without Eclipse.
Jesper de Jong wrote:Class java.io.File contains methods for listing the files and subdirectories that are present in a directory. To find a file that is somewhere down in a subdirectory, you'd have to call these methods recursively on the subdirectories, until you find the file that you're looking for. Have a look at the API documentation of class java.io.File.