|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--tauzaman.io.Output
Output class handles conversion of timestamps
to temporal constants.
| Field Summary | |
private CalendricSystem |
cachedCalendricSystem
A handle to CalendricSystem, which is the cached
CalendricSystem of parent TauZamanLocalService
in a temporal data type. |
private PropertyManager |
cachedPropertyManager
A handle to PropertyManager, which is the cached
PropertyManager of parent TauZamanLocalService
in a temporal data type.
|
private FVSupportRepository |
fvsr
A handle to FVSupportRepository of parent TauZamanSystem |
| Constructor Summary | |
Output(CalendricSystem cachedCalendricSystem,
PropertyManager cachedPropertyManager,
FVSupportRepository fvsr)
Constructs an Output object. |
|
| Method Summary | |
private java.lang.String |
formOutputString(Fields fields,
java.lang.String format)
Returns String temporal constant given Fields, which are
formed from Granules, and String format, which comes form
Property's Format information. |
java.lang.String |
parseOutput(Granule[] granules,
java.lang.String propertyName)
Returns formed String temporal constant given Granules
and name of the Property to be used. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private CalendricSystem cachedCalendricSystem
CalendricSystem, which is the cached
CalendricSystem of parent TauZamanLocalService
in a temporal data type.
private PropertyManager cachedPropertyManager
PropertyManager, which is the cached
PropertyManager of parent TauZamanLocalService
in a temporal data type.
Cached PropertyManager means the PropertyManager.
which corresponds to cached CalendricSystem.
private FVSupportRepository fvsr
FVSupportRepository of parent TauZamanSystem
| Constructor Detail |
public Output(CalendricSystem cachedCalendricSystem,
PropertyManager cachedPropertyManager,
FVSupportRepository fvsr)
Output object.
cachedCalendricSystem - A handle to CalendricSystem, which is the cached
CalendricSystem of parent TauZamanLocalService in a temporal
data type.cachedPropertyManager - A handle to PropertyManager, which is the cached
PropertyManager of parent TauZamanLocalService in a temporal
data type.fvsr - A handle to FVSupportRepository of parent TauZamanSystem| Method Detail |
public java.lang.String parseOutput(Granule[] granules,
java.lang.String propertyName)
throws IOException
Granules
and name of the Property to be used.
granules - array of Granule objects to be parsed into temporal constantpropertyName - String name of the Property
IOException - if any abnormal condition occurs when parsing
Granule(s) and forming output string
private java.lang.String formOutputString(Fields fields,
java.lang.String format)
throws IOException
Fields, which are
formed from Granules, and String format, which comes form
Property's Format information.
fields - Fields formed by using Granulesformat - String format fetched from code>Property's Format information
IOException - if any abnormal condition occurs when forming the String
temporal constant
|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||