public final Unit parse ( final String spec ) throws NoSuchUnitException , UnitParseException , SpecificationException , UnitDBException , PrefixDBException , UnitSystemException { synchronized ( MUTEX ) { return parse ( spec , UnitDBManager . instance ( ) ) ; } }
Parses a unit specification . This method is thread - safe .