Class UnitServices

Object
ServiceProvider
UnitServices
All Implemented Interfaces:
System­Of­Units­Service, Unit­Format­Service

public class UnitServices extends ServiceProvider implements SystemOfUnitsService, UnitFormatService
The central point from which all unit services (parsing, formatting, listing, etc) can be obtained. Apache SIS does not use this class (SIS rather uses Units pre-defined constants and Unit­Format directly since they are designed specifically for SIS needs). This class is provided for allowing other applications to discover Apache SIS implementation of JSR-363 without direct dependency. A Unit­Services instance can be obtained by call to Service­Provider​.current().
Since:
0.8

Defined in the sis-utility module