Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mitre.cvw.docclnt
Class DocCollection  view DocCollection download DocCollection.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byorg.mitre.cvw.docserv.DocumentCollection
                  extended byorg.mitre.cvw.docclnt.DocCollection
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.util.List, java.util.RandomAccess, java.io.Serializable

public class DocCollection
extends org.mitre.cvw.docserv.DocumentCollection


Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
private static int DELAY_TIME
           
private  DocFactory factory
           
 
Fields inherited from class org.mitre.cvw.docserv.DocumentCollection
COLLECTION_IDENTIFIER
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
(package private) DocCollection(DocFactory factory)
           
(package private) DocCollection(DocFactory factory, java.util.Vector identifiers)
           
 
Method Summary
 void delete()
          Delete the collection of documents from the DocServer
 java.util.Hashtable[] getInfo()
          Get metadata about the documents in the collection
 java.util.Dictionary[] makeDictionary(int size)
          Initialize a Dictionary array for the attributes of the collection
private  java.lang.String makeIdSuffix()
           
 void setInfo(java.util.Hashtable attributes)
          Set common information on a collection of documents.
 
Methods inherited from class org.mitre.cvw.docserv.DocumentCollection
getIdentifiers
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.util.AbstractCollection
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

factory

private DocFactory factory

DELAY_TIME

private static final int DELAY_TIME
See Also:
Constant Field Values
Constructor Detail

DocCollection

DocCollection(DocFactory factory,
              java.util.Vector identifiers)

DocCollection

DocCollection(DocFactory factory)
Method Detail

makeDictionary

public java.util.Dictionary[] makeDictionary(int size)
Description copied from class: org.mitre.cvw.docserv.DocumentCollection
Initialize a Dictionary array for the attributes of the collection


delete

public void delete()
            throws org.mitre.cvw.docserv.DocServException
Description copied from class: org.mitre.cvw.docserv.DocumentCollection
Delete the collection of documents from the DocServer


getInfo

public java.util.Hashtable[] getInfo()
                              throws org.mitre.cvw.docserv.DocServException
Description copied from class: org.mitre.cvw.docserv.DocumentCollection
Get metadata about the documents in the collection


setInfo

public void setInfo(java.util.Hashtable attributes)
             throws org.mitre.cvw.docserv.DocServException
Description copied from class: org.mitre.cvw.docserv.DocumentCollection
Set common information on a collection of documents.


makeIdSuffix

private java.lang.String makeIdSuffix()