Results 1 to 2 of 2
  1. #1
    swati.jyoti is offline Member
    Join Date
    Mar 2009
    Posts
    42
    Rep Power
    0

    Default RandomAccessFile

    Is there any way by which I can convert RandomAccessFile to File.

  2. #2
    neilcoffey is offline Senior Member
    Join Date
    Nov 2008
    Posts
    286
    Rep Power
    6

    Default

    You mean get the file name/File object from which the RandomAccessFile was opened? I don't believe there's a way to do that: once it's open, the RandomAccessFile doesn't hang on to that information.

Similar Threads

  1. Writing the data into RandomAccessFile
    By vasavi.singh in forum New To Java
    Replies: 5
    Last Post: 01-31-2013, 07:12 AM

Posting Permissions

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