Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.rgw.io
Class LargeFileLookup

java.lang.Object
  extended by ch.rgw.io.LargeFileLookup

public class LargeFileLookup
extends java.lang.Object

Lookup Strings in an arbitrarly large sorted file This is a quite trivial implemetation with binary sort in the file.

Author:
Gerry Weirich

Constructor Summary
LargeFileLookup(java.io.File file)
           
 
Method Summary
 java.util.List<java.lang.String> binarySearch(java.lang.String search)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LargeFileLookup

public LargeFileLookup(java.io.File file)
                throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

binarySearch

public java.util.List<java.lang.String> binarySearch(java.lang.String search)
                                              throws java.io.IOException
Throws:
java.io.IOException

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis