com.rubecula.math
Class MillFactory

java.lang.Object
  extended bycom.rubecula.jquantity.MillFactory
      extended bycom.rubecula.math.MillFactory
All Implemented Interfaces:
Identifiable, MillFactoryInterface

public class MillFactory
extends MillFactory

Factory class for Mathematical Mills.

Version:
$Revision: 1.4 $
Author:
Robin Hillyard

Constructor Summary
MillFactory()
           
 
Method Summary
 MillInterface createMill(java.lang.String name)
          Method to create a named Mill.
 
Methods inherited from class com.rubecula.jquantity.MillFactory
getIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MillFactory

public MillFactory()
Method Detail

createMill

public MillInterface createMill(java.lang.String name)
                         throws MillException
Method to create a named Mill. Note that this creates a "Math" mill, rather than the primitive mill provided by its superclass.

Specified by:
createMill in interface MillFactoryInterface
Overrides:
createMill in class MillFactory
Parameters:
name - the identifier for this Mill
Returns:
the newly constructed Mill
Throws:
MillException