|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectru.biosoft.access.DataElementSupport
ru.biosoft.access.AbstractDataCollection
ru.biosoft.access.EntryCollection
ru.biosoft.access.FileEntryCollection2
| Field Summary | |
static int |
BUFFER_SIZE
|
static int |
MAX_ENTRY_STR_SIZE
|
| Fields inherited from class ru.biosoft.access.EntryCollection |
ENTRY_DELIMITERS_PROPERTY, ENTRY_END_PROPERTY, ENTRY_ID_PROPERTY, ENTRY_START_PROPERTY |
| Fields inherited from class ru.biosoft.access.AbstractDataCollection |
cat, info, notificationEnabled, path, propagationEnabled, v_cache |
| Constructor Summary | |
FileEntryCollection2(DataCollection parent,
java.util.Properties properties)
|
|
| Method Summary | |
void |
close()
Close data collection. |
boolean |
contains(java.lang.String name)
Returns true if this data collection contains the element with specified name. |
protected DataElement |
doGet(java.lang.String name)
This method should be implemented in subclasses to get the specified data element from the collection. |
protected void |
doPut(DataElement element,
boolean isNew)
This method should be implemented in mutable subclasses to put the specified data element into the collection. |
protected void |
doRemove(java.lang.String name)
This method should be implemented in mutable subclasses to remove the specified data element from the collection. |
java.util.List |
getInternalNameList()
|
java.util.List |
getNameList()
Gets list of all names in data collection. |
int |
getSize()
Gets size of data collection. |
boolean |
isMutable()
Determine is this collection mutable (writable). |
java.util.Iterator |
iterator()
Returns an iterator over the data elements in this collection. |
| Methods inherited from class ru.biosoft.access.EntryCollection |
getDataElementType |
| Methods inherited from class ru.biosoft.access.DataElementSupport |
getName, getOrigin, registerConstructorWithBadEqual |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ru.biosoft.access.DataElement |
getName, getOrigin |
| Field Detail |
public static final int BUFFER_SIZE
public static final int MAX_ENTRY_STR_SIZE
| Constructor Detail |
public FileEntryCollection2(DataCollection parent,
java.util.Properties properties)
throws java.lang.Exception
| Method Detail |
public java.util.Iterator iterator()
DataCollection
public boolean contains(java.lang.String name)
AbstractDataCollection
contains in interface DataCollectioncontains in class AbstractDataCollectionname - name of element whose presence in this data collection is to be tested.
AbstractDataCollection.contains(ru.biosoft.access.DataElement)public int getSize()
AbstractDataCollection
getSize in interface DataCollectiongetSize in class AbstractDataCollectionpublic java.util.List getInternalNameList()
public java.util.List getNameList()
AbstractDataCollection
getNameList in interface DataCollectiongetNameList in class AbstractDataCollectionpublic boolean isMutable()
isMutable in interface DataCollectionisMutable in class AbstractDataCollection
public void close()
throws java.lang.Exception
close in interface DataCollectionclose in class AbstractDataCollectionjava.lang.Exception - If error occured.
protected DataElement doGet(java.lang.String name)
throws java.lang.Exception
AbstractDataCollection
doGet in class AbstractDataCollectionname - Name of needed data element.
java.lang.ExceptionAbstractDataCollection.get(String),
DataCollection.iterator()
protected void doPut(DataElement element,
boolean isNew)
throws java.lang.Exception
AbstractDataCollection
doPut in class AbstractDataCollectionjava.lang.ExceptionAbstractDataCollection.put(DataElement)
protected void doRemove(java.lang.String name)
throws java.lang.Exception
AbstractDataCollection
doRemove in class AbstractDataCollectionjava.lang.ExceptionAbstractDataCollection.remove(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||