# Package util

A collection of utility classes for the SiGML Input Library.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Logging | Interface defining a very simple file-based logging system.

- Class Summary
  Class | Description
  --- | ---
  AsciiIdMapper | This class supports the mapping of ISO-8859-1/CP-1252 identifiers to ASCII-compatible form based on a mapping table file for individual characters.
  BytesEncodingChecker | Provides UCS encoding information for a given byte array, allowing the client to determine whether its encoding is UTF-8 or UTF-16, whether in the latter case it is big- or little-endian, whether or not there is a BOM, and if so the number of bytes devoted to the BOM.
  FileUtils | Static file-handling utility methods.
  HamNameMap | Provides mapping in both directions between HamNoSys token names and the corresponding octet values (classic HNS 3 character values), based on data from a Properties file.
  HNSBytesInputConverter | Converts an input byte array, supplied as a constructor parameter, to a string, taking account of UCS encodings (UTF-16, with and without a Byte-Order-Mark [BOM], UTF-8 with BOM, ISO_8859-1), and converting HNS-Unicode character values to traditional HNS character octet values.
  HNSOctetUCSMap | Defines mappings in both directions between HNS 8-bit character code values (octets) and HamNoSys-UCS characters, most of which are in the UCS private use area.
  InputStreamAsBytes | Reads the data from a given InputStream, making it available as an array of bytes.
  Logger | A very simple file-based implementation of the `Logging` interface.
  LoggerConfig |
  NetUtils | Network-related utility methods.
  RE | Utility data and method definitions for regular expression processing.
  RE.AV | A structure that records the result of a scan for an attribute='value' string.
  ReaderLinesTracker | A reader lines tracker is a scanner which maintains a current viewing "window" on the sequence of lines represented by a given Reader, this window being defined by "back" and "front" location markers.
  ResourceUtils | Utility methods for local resource file handling.
  SILTimer | A `SILTimer` provides real-time measurement, using the Java 5 nano-second System timer (whose resolution may well be less fine- grained than 1 ns.), to provide interval measures expressed in milliseconds, as values of type float.
  StringUtils | Static string processing utility data methods.
  TokenizedLinesReader | An instance of this class presents the lines of a given buffered reader as a sequence of token-string arrays.

## Package util Description

A collection of utility classes for the SiGML Input Library.