Package com.ilib.tools.zic
Class ZoneInfoFile
- java.lang.Object
-
- com.ilib.tools.zic.ZoneInfoFile
-
public class ZoneInfoFile extends java.lang.Object
ZoneInfoFile - models a zone information file, which contains a number of time zone definitions in it.
-
-
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)
-
-
-
Method Detail
-
getLine
protected java.lang.String getLine() throws java.io.IOException
- Throws:
java.io.IOException
-
stuffLine
protected void stuffLine(java.lang.String line)
-
parse
public void parse(java.util.HashMap<java.lang.String,Zone> zones, java.util.HashMap<java.lang.String,RuleSet> ruleSets) throws ParseException
- Throws:
ParseException
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
-