Results 1 to 2 of 2
  1. #1
    peller is offline Member
    Join Date
    Dec 2012
    Rep Power

    Default Direct file IO with Java ?

    is there a way to use direct file I/O with Java on Linux ?

    With C I open a file with the O_DIRECT parameter to avoid the Linux buffer cache.

    Best regards

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Direct file IO with Java ?

    Is this what you were looking for?
    Reading, Writing, and Creating Files (The Java™ Tutorials > Essential Classes > Basic I/O)

    Note that NIO.2 was introduced in Java 7.

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 1
    Last Post: 05-04-2012, 08:01 PM
  2. Direct CMD output to a file
    By yahyaaa in forum New To Java
    Replies: 9
    Last Post: 01-31-2011, 12:19 PM
  3. Direct to URL to download java using JOptionPane
    By Basit in forum Java Applets
    Replies: 6
    Last Post: 08-21-2009, 08:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts