org.cts.units
Class Quantity.Factory

java.lang.Object
  extended by org.cts.units.Quantity.Factory
Enclosing interface:
Quantity

public static class Quantity.Factory
extends Object

A factory to easily create Quantities from simple Strings.


Constructor Summary
Quantity.Factory()
           
 
Method Summary
static Quantity create(String name)
          Creates a new Quantity from a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quantity.Factory

public Quantity.Factory()
Method Detail

create

public static Quantity create(String name)
Creates a new Quantity from a String.

Parameters:
name - the name of the Quantity to be created
Returns:
a new Quantity object


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.