| java.lang.Object sun.tools.javazic.BackEnd
All known Subclasses: sun.tools.javazic.GenSrc, sun.tools.javazic.Simple, sun.tools.javazic.GenDoc, sun.tools.javazic.Gen,
BackEnd | abstract class BackEnd (Code) | | BackEnd is an abstract base class for a back-end of compiling
Olson's zoneinfo database and generating Java zoneinfo database.
since: 1.4 |
Method Summary | |
abstract int | generateSrc(Mappings m) Receives whole information which is generated by JavaZic's front-end
in the form of Mapping object and generates total Java zone information
file.
Parameters: m - Mappings object which is generated by Main.compile Main.compile(). | static BackEnd | getBackEnd() Decides which backend class should be used and returns its instance. | abstract int | processZoneinfo(Timezone tz) Receives each zone's TimeZone information which was created by
Zoneinfo.parse in class Zoneinfo ,
and processes it. |
generateSrc | abstract int generateSrc(Mappings m)(Code) | | Receives whole information which is generated by JavaZic's front-end
in the form of Mapping object and generates total Java zone information
file.
Parameters: m - Mappings object which is generated by Main.compile Main.compile(). 0 if no error occurred, otherwise 1. |
getBackEnd | static BackEnd getBackEnd()(Code) | | Decides which backend class should be used and returns its instance.
an instance of backend class |
processZoneinfo | abstract int processZoneinfo(Timezone tz)(Code) | | Receives each zone's TimeZone information which was created by
Zoneinfo.parse in class Zoneinfo ,
and processes it.
Parameters: tz - Timezone object for each zone 0 if no error occurred, otherwise 1. |
|
|