org.basex.build.fs
Class ExtractorIndex

java.lang.Object
  extended by org.basex.util.Set
      extended by org.basex.build.fs.ExtractorIndex

public final class ExtractorIndex
extends Set

This hash structure indexes the available filesystem extractors.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.util.Set
size
 
Constructor Summary
ExtractorIndex()
           
 
Method Summary
 AbstractExtractor get(byte[] tok)
          Returns the class for the specified key.
 void put(byte[] key, AbstractExtractor val)
          Indexes the specified keys and values.
 
Methods inherited from class org.basex.util.Set
add, id, key, keys, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtractorIndex

public ExtractorIndex()
Method Detail

get

public AbstractExtractor get(byte[] tok)
Returns the class for the specified key.

Parameters:
tok - key to be found
Returns:
value or null if nothing was found

put

public void put(byte[] key,
                AbstractExtractor val)
Indexes the specified keys and values.

Parameters:
key - key
val - value