Save This Page
Home » nutch-1.0 » org.apache.nutch » collection » [javadoc | source]
org.apache.nutch.collection
public class: CollectionManager [javadoc | source]
java.lang.Object
   org.apache.hadoop.conf.Configured
      org.apache.nutch.collection.CollectionManager
Field Summary
public static final  String DEFAULT_FILE_NAME     
static final  Log LOG     
transient  Map collectionMap     
transient  URL configfile     
Constructor:
 protected CollectionManager() 
 public CollectionManager(Configuration conf) 
Method from org.apache.nutch.collection.CollectionManager Summary:
createSubCollection,   deleteSubCollection,   getAll,   getCollectionManager,   getSubColection,   getSubCollections,   init,   parse,   save
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.nutch.collection.CollectionManager Detail:
 public Subcollection createSubCollection(String id,
    String name) 
    Create a new subcollection.
 public  void deleteSubCollection(String id) throws IOException 
    Delete named subcollection
 public Collection getAll() 
    Returns all collections
 public static CollectionManager getCollectionManager(Configuration conf) 
 public Subcollection getSubColection(String id) 
    Returns named subcollection
 public String getSubCollections(String url) 
    Return names of collections url is part of
 protected  void init() 
 protected  void parse(InputStream input) 
 public  void save() throws IOException 
    Save collections into file