File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Load a content of file into memory! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Load a content of file into memory!" Watch "Load a content of file into memory!" New topic
Author

Load a content of file into memory!

Moniphal Say
Ranch Hand

Joined: Aug 11, 2004
Posts: 48
Dear all,

Can anyone, just give me an idear or a small example on how to load a content of 1 file into the main memory using Java?

thanks
regards,


<b>The more we learn, the more we know !</b>
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Take a look at the MappedByteBuffer class in the New I/O package.


It seems that MappedByteBuffer was mentioned in your previous thread.
[ September 04, 2005: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Moniphal Say
Ranch Hand

Joined: Aug 11, 2004
Posts: 48
Thanks, yes it was mentioned in my previous thread. Sorry for this unattention.

Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Load a content of file into memory!