p2pMapReduce.mapreduceModule.output
Class PartitionFile

java.lang.Object
  extended by p2pMapReduce.mapreduceModule.output.PartitionFile

public class PartitionFile
extends java.lang.Object


Field Summary
static java.lang.String LINE_SEPARATOR
           
 
Constructor Summary
PartitionFile(java.lang.String filePath)
           
 
Method Summary
 void close()
           
 java.io.DataOutputStream getDataOutputStream()
           
 java.io.File getFile()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LINE_SEPARATOR

public static final java.lang.String LINE_SEPARATOR
Constructor Detail

PartitionFile

public PartitionFile(java.lang.String filePath)
              throws java.io.FileNotFoundException,
                     java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException
Method Detail

getFile

public java.io.File getFile()

getDataOutputStream

public java.io.DataOutputStream getDataOutputStream()
                                             throws java.io.FileNotFoundException,
                                                    java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object