com.rubecula.jquantity
Class MillFactory

java.lang.Object
  |
  +--com.rubecula.jquantity.MillFactory
All Implemented Interfaces:
MillFactoryInterface

public class MillFactory
extends java.lang.Object
implements MillFactoryInterface

Factory class for Mills.

Version:
$Revision: 1.1 $
Author:
Robin Hillyard

Constructor Summary
MillFactory()
           
 
Method Summary
 Millable createMill(java.lang.String name)
          Method to create a named Mill.
 
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 Millable createMill(java.lang.String name)
                    throws MillException
Method to create a named Mill.

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