wt.fv
Class FileSort

java.lang.Object
  extended bywt.fv.FileSort

public class FileSort
extends Object


Constructor Summary
FileSort()
           
 
Method Summary
private static boolean seqMergeSort(DataInputStream in1, DataInputStream in2, DataOutputStream out)
           
private static void singleSeqMerge(AccendingSequenceOfLongsReader seq1, AccendingSequenceOfLongsReader seq2, DataOutputStream out)
           
static File sortFile(File in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSort

public FileSort()
Method Detail

sortFile

public static File sortFile(File in)
                     throws IOException
Throws:
IOException

seqMergeSort

private static boolean seqMergeSort(DataInputStream in1,
                                    DataInputStream in2,
                                    DataOutputStream out)
                             throws IOException
Throws:
IOException

singleSeqMerge

private static void singleSeqMerge(AccendingSequenceOfLongsReader seq1,
                                   AccendingSequenceOfLongsReader seq2,
                                   DataOutputStream out)
                            throws IOException
Throws:
IOException