net.nutch.io
Class ArrayFile.Writer

java.lang.Object
  extended bynet.nutch.io.MapFile.Writer
      extended bynet.nutch.io.ArrayFile.Writer
Enclosing class:
ArrayFile

public static class ArrayFile.Writer
extends MapFile.Writer

Write a new array file.


Constructor Summary
ArrayFile.Writer(String file, Class valClass)
          Create the named file for values of the named class.
 
Method Summary
 void append(Writable value)
          Append a value to the file.
 
Methods inherited from class net.nutch.io.MapFile.Writer
append, close, getIndexInterval, setIndexInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayFile.Writer

public ArrayFile.Writer(String file,
                        Class valClass)
                 throws IOException
Create the named file for values of the named class.

Method Detail

append

public void append(Writable value)
            throws IOException
Append a value to the file.

Throws:
IOException


Copyright © 2004 The Nutch Organization.