ru.biosoft.access
Class FileCollection
ru.biosoft.access.DataElementSupport
|
+--ru.biosoft.access.AbstractDataCollection
|
+--ru.biosoft.access.VectorDataCollection
|
+--ru.biosoft.access.FileCollection
- public class FileCollection
- extends VectorDataCollection
FileCollection is DataCollection for storing FileDataElement objects .
This data collection is storage for files of corresponding subdirectory
| Field Summary |
final static String | FILE_FILTER Property for storing filter file extension |
| Methods inherited from class ru.biosoft.access.AbstractDataCollection |
addDataCollectionListener, contains, contains, get, getCompleteName, getInfo, init, propagateElementChanged, propagateElementWillChange, remove, removeDataCollectionListener, toString |
FILE_FILTER
public final static String FILE_FILTER
- Property for storing filter file extension
FileCollection
public FileCollection(DataCollection parent, Properties properties)
throws java.io.IOException
- Constructs data collection with parent.
Makes info for this data collection.
- Parameters:
- parent - Parent data collection.
- properties - Properties for creating data collection .
close
public void close()
throws java.lang.Exception
getDataElementType
public Class getDataElementType()
- Returns
FileDataElement.class- Returns:
FileDataElement.class
getFile
public File getFile()
to Class java.lang.String- Property for storing filter file extension
to Class java.io.File
- Subdirectory corresponded with this collection.
to Class java.io.FileFilter
- FileFilter is used to select needed files from root directory
as well as to check added filed .
- see #doPut(DataElement )
BOTTOM