public static class FileSorter.FileOutput extends Object implements FileSorter.Output
Modifier and Type | Field and Description |
---|---|
private BufferedWriter |
out |
Constructor and Description |
---|
FileOutput(File f,
int bufSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
writeLine(String s) |
public FileOutput(File f, int bufSize) throws IOException
IOException
public void writeLine(String s) throws IOException
writeLine
in interface FileSorter.Output
IOException
public void close() throws IOException
close
in interface FileSorter.Output
IOException