Method that will perform full sort on specified input, writing results into specified destination. Data conversions needed are done using DataReaderFactory and DataWriterFactory configured for this sorter.
(InputStream source, OutputStream destination)
| 64 | * for this sorter. |
| 65 | */ |
| 66 | public void sort(InputStream source, OutputStream destination) |
| 67 | throws IOException |
| 68 | { |
| 69 | sort(_readerFactory.constructReader(source), |
| 70 | _writerFactory.constructWriter(destination)); |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Method that will perform full sort on input data read using given |