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
IOExceptionpublic void writeLine(String s)
throws IOException
writeLine in interface FileSorter.OutputIOExceptionpublic void close()
throws IOException
close in interface FileSorter.OutputIOException