public ZoneInfoProvider(File fileDir) throws IOException {
  if (fileDir == null) {
    throw new IllegalArgumentException("No file directory provided");
  }
  if (!fileDir.exists()) {
    throw new IOException("File directory doesn't exist: " + fileDir);
  }
  if (!fileDir.isDirectory()) {
    throw new IOException("File doesn't refer to a directory: " + fileDir);
  }
  iFileDir=fileDir;
  iResourcePath=null;
  iLoader=null;
  iZoneInfoMap=loadZoneInfoMap(openResource("ZoneInfoMap"));
}

public ZoneInfoProvider ( File fileDir ) throws IOException { if ( fileDir == null ) { throw new IllegalArgumentException ( "No file directory provided" ) ; } if ( ! fileDir . exists ( ) ) { throw new IOException ( "File directory doesn't exist: " + fileDir ) ; } if ( ! fileDir . isDirectory ( ) ) { throw new IOException ( "File doesn't refer to a directory: " + fileDir ) ; } iFileDir = fileDir ; iResourcePath = null ; iLoader = null ; iZoneInfoMap = loadZoneInfoMap ( openResource ( "ZoneInfoMap" ) ) ; }
zoneinfoprovider searches the given directory for compiled data files .
