org.apache.mahout.text
Class SequenceFilesFromMailArchives.ChunkedWriter
java.lang.Object
org.apache.mahout.text.SequenceFilesFromMailArchives.ChunkedWriter
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- SequenceFilesFromMailArchives
public static class SequenceFilesFromMailArchives.ChunkedWriter
- extends Object
- implements Closeable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceFilesFromMailArchives.ChunkedWriter
public SequenceFilesFromMailArchives.ChunkedWriter(int chunkSizeInMB,
String outputDir)
throws IOException
- Throws:
IOException
write
public void write(String key,
String value)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.