[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RandomAccessFile in 2.2.18

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: RandomAccessFile in 2.2.18
  • Date: Fri, 30 Mar 2007 12:43:51 +0100


If you use toolsUI-2.2.18.jar you discover that there are two RandomAccessFile 
classes but only one in the Javadoc. It would seem (I haven't looked at the 
source code) that 

ucar.netcdf.RandomAccessFile might be very similar to 
ucar.unidata.io.RandomAccessFile which is in the Javadoc. 

The former has been around a long time and I was wondering whether I should 
convert to using the one in the later package - pretty much mandatory given 
that there wouldn't be documentary support for the earlier version. I note it 
doesn't support a java.io.File argument constructor. Neither has a setLength 
which is in java.io.RandomAccessFile which I would find handy. Also I note that 
netcdf-2.2.18.jar, unlike toolsUI, doesn't include the earlier version.

Can someone advise?

Steve Loch
BODC
Web: www.bodc.ac.uk

PS Where's the best location to send comments on the (javadoc) documentation?


-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.


===============================================================================
To unsubscribe netcdf-java, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
===============================================================================