# Package javajs.util

package javajs.util

Related Packages
Package
Description
javajs
javajs.api
javajs.export
javajs.img
Class
Description
A4
A 4 element axis angle represented by single precision floating point x,y,z,angle components.
AjaxURLConnection
A method to allow a JavaScript Ajax
AjaxURLStreamHandler
A method to allow a JavaScript AJAX adapter to deliver web content to JSmol.
AjaxURLStreamHandlerFactory
For handling URL file IO via AJAX in JavaScript version
ArrayDataReader
ArrayDataReader subclasses BufferedReader and overrides its read, readLine, mark, and reset methods so that JmolAdapter works with String[] arrays without any further adaptation.
AU
BArray
Base64
BC
byte converter
BinaryDocument
BS
a fast 32-bit BitSet optimized for Java2Script -- about 25 times faster than java.util.BitSet
CifDataParser
A CIF 1.0 tokenizer class for dealing with quoted strings in CIF files.
CompoundDocument
CU
ColorUtility
DataReader
Just a simple abstract class to join a String reader and a String[] reader under the same BufferedReader umbrella.
DebugJS
A class to insert a JavaScript debug statement for Firefox or Chrome debugger
DF
created to remove ambiguities and make a simpler DecimalFormat
Eigen
Eigenvalues and eigenvectors of a real matrix.
Encoding
JSJSONParser
a very simple JSON parser for JSON objects that are compatible with JavaScript A gross simplification of https://github.com/douglascrockford/JSON-java A SUBSET of JSON with similarly to window.JSON.parse(): In JavaScript returns "null" for a null value, not null -- requires quoted strings for keys and values -- does not allow /xxx/ objects
JSONException
LimitedLineReader
A simple class to read a designated number of bytes from a file and then return them line by line, skipping lines that start with #, and including the \n or \r characters at line ends.
ListDataReader
VectorDataReader subclasses BufferedReader and overrides its read, readLine, mark, and reset methods so that JmolAdapter works with Vector<String> arrays without any further adaptation.
Lst<V>
created to remove ambiguities in add and remove
M3
A single precision floating point 3 by 3 matrix.
M34
A base class for both M3 and M4 to conserve code size.
M4
A single precision floating point 4 by 4 matrix.
Matrix
streamlined and refined for Jmol by Bob Hanson from http://math.nist.gov/javanumerics/jama/ Jama = Java Matrix class.
Measure
MessagePackReader
A simple MessagePack reader.
OC
A generic output method.
P3
A 3 element point that is represented by single precision floating point x,y,z coordinates.
P3i
A 3 element point that is represented by signed integer x,y,z coordinates.
P4
A 4 element point that is represented by single precision floating point x,y,z,w coordinates.
PT
a combination of Parsing and Text-related utility classes
Quat
Rdr
A general helper class for a variety of stream and reader functionality including: stream and byte magic-number decoding for PNG, PNGJ, ZIP, and GZIP streams various stream/reader methods, including UTF-encoded stream reading reflection-protected access to a CIF parser and ZIP tools
Rdr.StreamReader
SB
Interesting thing here is that JavaScript is 3x faster than Java in handling strings.
StringDataReader
T3
A generic 3 element tuple that is represented by single precision floating point x,y and z coordinates.
T3d
A generic 3 element tuple that is represented by double precision floating point x,y and z coordinates.
T3i
A 3-element tuple represented by signed integer x,y,z coordinates.
T4
A generic 4 element tuple that is represented by single precision floating point x,y,z and w coordinates.
V3
A 3-element vector that is represented by single precision floating point x,y,z coordinates.
V3d
A 3 element vector that is represented by double precision floating point x,y,z coordinates.
XmlUtil
A very simplistic XML generator
ZipData
ZipTools
Note the JSmol/HTML5 must use its own version of java.util.zip.ZipOutputStream.