Class ZoneInfoFile


  • public class ZoneInfoFile
    extends java.lang.Object
    ZoneInfoFile - models a zone information file, which contains a number of time zone definitions in it.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String buffer  
      protected java.io.File file  
      protected java.io.BufferedReader in  
      protected org.apache.log4j.Logger logger  
    • Constructor Summary

      Constructors 
      Constructor Description
      ZoneInfoFile​(java.io.File file)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      protected java.lang.String getLine()  
      void parse​(java.util.HashMap<java.lang.String,​Zone> zones, java.util.HashMap<java.lang.String,​RuleSet> ruleSets)  
      protected void stuffLine​(java.lang.String line)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • in

        protected java.io.BufferedReader in
      • file

        protected java.io.File file
      • buffer

        protected java.lang.String buffer
      • logger

        protected org.apache.log4j.Logger logger
    • Constructor Detail

      • ZoneInfoFile

        public ZoneInfoFile​(java.io.File file)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getLine

        protected java.lang.String getLine()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • stuffLine

        protected void stuffLine​(java.lang.String line)
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException