Class UnitServices

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

public class UnitServices extends ServiceProvider implements SystemOfUnitsService, FormatService
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 predefined 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-385 without direct dependency. A Unit­Services instance can be obtained by call to Service­Provider​.current().
Since:
0.8