ucar.units.README.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of udunits Show documentation
Show all versions of udunits Show documentation
The ucar.units Java package is for decoding and encoding formatted unit specifications (e.g. "m/s"), converting numeric values between compatible units (e.g. between "m/s" and "knot"), and for performing arithmetic operations on units (e.g. dividing one unit by another, or raising a unit to a power).
The newest version!
ucar.units
Introduction
The ucar.units Java package is for decoding and encoding formatted
unit specifications (e.g. "m/s"), converting numeric values between compatible
units (e.g. between "m/s" and "knot"), and for performing arithmetic
operations on units (e.g. dividing one unit by another, raising a unit
to a power).
Where to get this package
Binary
Distribution
Contains the Java .class files; doesn't contain any .html
(i.e. javadoc) files.
Source
Distribution
Contains the Java .java files. This release is necessary
in order to build the javadoc .html files.
Installation
If you get the binary distribution, then all you need do is to put the
.jar file somewhere appropriate and add the pathname of the file to
your CLASSPATH environment variable.
If you want to build the package from scratch (for better optimization,
for example) then get the source distribution and compile it.
On a UNIX system, you may do this by editing the file macros.make,
making changes as appropriate, and then executing the command make.
This will compile the Java source files into the $(CLASSDIR) directory.
If you want to generate javadoc .html files, then get the
source directory and follow the instructions for your system for generating
javadoc .html files.
Questions and Comments
Questions on or comments about the ucar.units package should be
sent to <[email protected]>.