org.apache.lucene.util
Class FileSorter.FileOutput

Object
  extended by FileSorter.FileOutput
All Implemented Interfaces:
FileSorter.Output
Enclosing class:
FileSorter

public static class FileSorter.FileOutput
extends Object
implements FileSorter.Output

Advanced API class: write output to a file


Field Summary
private  BufferedWriter out
           
 
Constructor Summary
FileSorter.FileOutput(File f, int bufSize)
           
 
Method Summary
 void close()
           
 void writeLine(String s)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private BufferedWriter out
Constructor Detail

FileSorter.FileOutput

public FileSorter.FileOutput(File f,
                             int bufSize)
                      throws IOException
Throws:
IOException
Method Detail

writeLine

public void writeLine(String s)
               throws IOException
Specified by:
writeLine in interface FileSorter.Output
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface FileSorter.Output
Throws:
IOException