Searched refs:dataFile (Results 1 - 5 of 5) sorted by relevance

/org.ahmadsoft.jpostal-1.0.44/src/org/ahmadsoft/postal/
H A DDiskStrategy.java38 private RandomAccessFile dataFile; field in class:DiskStrategy
42 dataFile = new RandomAccessFile(_dataFile, "r");
58 dataFile.seek(loc);
60 while (0 != (type=dataFile.readShort())) {
61 String state = dataFile.readUTF();
62 String city = dataFile.readUTF();
75 dataFile.close();
H A DReadOnceStrategy.java39 private RandomAccessFile dataFile; field in class:ReadOnceStrategy
48 dataFile = new RandomAccessFile(_dataFile, "r");
60 dataFile.seek(loc);
62 while (0 != (type=dataFile.readShort())) {
63 String state = dataFile.readUTF();
64 String city = dataFile.readUTF();
98 dataFile.close();
H A DPostalRetrievalStrategy.java38 * @param dataFile
40 void initialize(File indexFile, File dataFile) throws Exception; argument
H A DInMemoryStrategy.java46 public void initialize(File indexFile, File dataFile) throws Exception { argument
48 RandomAccessFile dfRan = new RandomAccessFile(dataFile, "r");
/org.ahmadsoft.jpostal-1.0.44/src/org/ahmadsoft/postal/test/
H A DSimpleTester.java42 System.err.println("Usage: SimpleTester indexFile dataFile");
63 File dataFile = new File(args[1]); //"f:/temp/uspc.data");
69 retrievalStrategy.initialize(indexFile, dataFile);

Completed in 7 milliseconds