tauZaman
v0.1

tauzaman.io
Class Input

java.lang.Object
  |
  +--tauzaman.io.Input

public class Input
extends java.lang.Object

Input class handles conversion of temporal constants to timestamps.

Status:
design complete, implementation complete

Constructor Summary
Input(CalendricSystem activeCalendricSystem, PropertyManager activePropertyManager, FVSupportRepository fvsr)
          Constructs an Input object.
 
Method Summary
 Granule[] parseInput(java.lang.String input, java.lang.String propertyName)
          Returns formed Granule(s) given a temporal constant and name of the Property to be used.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Input

public Input(CalendricSystem activeCalendricSystem,
             PropertyManager activePropertyManager,
             FVSupportRepository fvsr)
Constructs an Input object.

Parameters:
activeCalendricSystem - A handle to CalendricSystem, which is the active CalendricSystem of parent TauZamanLocalService
activePropertyManager - A handle to PropertyManager, which is the active PropertyManager of parent TauZamanLocalService
fvsr - A handle to FVSupportRepository of parent TauZamanSystem
Method Detail

parseInput

public Granule[] parseInput(java.lang.String input,
                            java.lang.String propertyName)
                     throws IOException
Returns formed Granule(s) given a temporal constant and name of the Property to be used.

Parameters:
input - String temporal constant
propertyName - String name of the Property
Returns:
an array of Granule objects
Throws:
IOException - if any abnormal condition occurs when parsing input and forming Granule(s)

tauZaman
v0.1

Submit a bug or feature

tauZaman is an open-source, publicly avaliable project