public class XmlFileContainer
extends com.vaadin.data.util.FilesystemContainer
com.vaadin.data.util.FilesystemContainer.FileExtensionFilter, com.vaadin.data.util.FilesystemContainer.FileItemcom.vaadin.data.Container.Editor, com.vaadin.data.Container.Filter, com.vaadin.data.Container.Filterable, com.vaadin.data.Container.Hierarchical, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeEvent, com.vaadin.data.Container.ItemSetChangeListener, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.PropertySetChangeEvent, com.vaadin.data.Container.PropertySetChangeListener, com.vaadin.data.Container.PropertySetChangeNotifier, com.vaadin.data.Container.SimpleFilterable, com.vaadin.data.Container.Sortable, com.vaadin.data.Container.Viewer| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
excludeList
The exclude list.
|
| Constructor and Description |
|---|
XmlFileContainer(File root,
boolean recursive)
Instantiates a new XML file container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExcludeFile(String excludeFile)
Adds the exclude file.
|
Collection<File> |
getItemIds() |
void |
removeExcludeFile(String excludeFile)
Removes the exclude file.
|
addContainerProperty, addItem, addItem, addRoot, areChildrenAllowed, containsId, getChildren, getContainerProperty, getContainerPropertyIds, getFilter, getItem, getParent, getType, hasChildren, isRecursive, isRoot, removeAllItems, removeContainerProperty, removeItem, rootItemIds, setChildrenAllowed, setFilter, setFilter, setParent, setRecursive, sizepublic XmlFileContainer(File root, boolean recursive)
root - the rootrecursive - the recursive flagpublic Collection<File> getItemIds()
getItemIds in interface com.vaadin.data.ContainergetItemIds in class com.vaadin.data.util.FilesystemContainerpublic void addExcludeFile(String excludeFile)
excludeFile - the exclude filepublic void removeExcludeFile(String excludeFile)
excludeFile - the exclude fileCopyright © 2018. All rights reserved.