org.erowid.sperosearch.splitindex
Class WriteableSplitIndexFileDescriptor

java.lang.Object
  extended byorg.erowid.sperosearch.splitindex.SplitIndexFileDescriptor
      extended byorg.erowid.sperosearch.splitindex.WriteableSplitIndexFileDescriptor

public class WriteableSplitIndexFileDescriptor
extends SplitIndexFileDescriptor

A writeable form of WriteableSplitIndexFileDescriptor. Only this class and WriteableSplitIndexDirectoryDescriptor are aware of the existence of File objects.

Version:
: $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperosearch/splitindex/WriteableSplitIndexFileDescriptor.java,v 1.1 2005/06/02 06:07:58 gurustu Exp $
Author:
: $Author: gurustu $

Constructor Summary
WriteableSplitIndexFileDescriptor(WriteableSplitIndexDirectoryDescriptor directoryDescriptor, File originalFile)
          Creates a(n) WriteableSplitIndexFileDescriptor object.
 
Method Summary
 void process()
          Splits and compresses this file.
 
Methods inherited from class org.erowid.sperosearch.splitindex.SplitIndexFileDescriptor
getDirectoryDescriptor, getFileName, getSegmentCount, getSegmentFilename, getSize, getUrlForReading, setData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriteableSplitIndexFileDescriptor

public WriteableSplitIndexFileDescriptor(WriteableSplitIndexDirectoryDescriptor directoryDescriptor,
                                         File originalFile)
                                  throws IOException
Creates a(n) WriteableSplitIndexFileDescriptor object.

Method Detail

process

public void process()
             throws IOException
Splits and compresses this file.

Throws:
IOException

spero logo small Sperowider is
© 2005 Erowid.org