uk.ac.leeds.ccg.andyt.projects.moses.io
Class CASZoneCodeZoneNameDataHandler
java.lang.Object
uk.ac.leeds.ccg.andyt.projects.moses.io.CASZoneCodeZoneNameDataHandler
public class CASZoneCodeZoneNameDataHandler
- extends java.lang.Object
A class
for loading a list of Zone Code and Zone Names for
England and Wales Local Authority Districts, Scotland Council Areas and
Northern Ireland District Council regions.
Method Summary |
protected void |
format(java.io.File sourceFile)
|
protected void |
loadSourceData(java.io.File directory)
Loads source data from directory |
static void |
main(java.lang.String[] args)
|
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_ZoneCode_HashSet
public java.util.HashSet _ZoneCode_HashSet
CASZoneCodeZoneNameDataHandler
public CASZoneCodeZoneNameDataHandler()
- Creates a new instance of CASZoneCodeZoneNameDataHandler.
CASZoneCodeZoneNameDataHandler
public CASZoneCodeZoneNameDataHandler(java.io.File formattedFile)
throws java.io.IOException
- Creates a new instance of CASZoneCodeZoneNameDataHandler with
_ZoneCode_HashSet loaded from formattedFile.
- Parameters:
formattedFile
-
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Parameters:
args
- the command line arguments No arguments are used.
- Throws:
java.io.IOException
run
public void run()
throws java.io.IOException
- Throws:
java.io.IOException
loadSourceData
protected void loadSourceData(java.io.File directory)
throws java.io.IOException
- Loads source data from directory
- Throws:
java.io.IOException
format
protected void format(java.io.File sourceFile)
throws java.io.IOException
- Throws:
java.io.IOException