public class XmlFileContainer
extends com.vaadin.v7.data.util.FilesystemContainer
com.vaadin.v7.data.util.FilesystemContainer.FileExtensionFilter, com.vaadin.v7.data.util.FilesystemContainer.FileItem
com.vaadin.v7.data.Container.Editor, com.vaadin.v7.data.Container.Filter, com.vaadin.v7.data.Container.Filterable, com.vaadin.v7.data.Container.Hierarchical, com.vaadin.v7.data.Container.Indexed, com.vaadin.v7.data.Container.ItemSetChangeEvent, com.vaadin.v7.data.Container.ItemSetChangeListener, com.vaadin.v7.data.Container.ItemSetChangeNotifier, com.vaadin.v7.data.Container.Ordered, com.vaadin.v7.data.Container.PropertySetChangeEvent, com.vaadin.v7.data.Container.PropertySetChangeListener, com.vaadin.v7.data.Container.PropertySetChangeNotifier, com.vaadin.v7.data.Container.SimpleFilterable, com.vaadin.v7.data.Container.Sortable, com.vaadin.v7.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, size
public XmlFileContainer(File root, boolean recursive)
root
- the rootrecursive
- the recursive flagpublic Collection<File> getItemIds()
getItemIds
in interface com.vaadin.v7.data.Container
getItemIds
in class com.vaadin.v7.data.util.FilesystemContainer
public void addExcludeFile(String excludeFile)
excludeFile
- the exclude filepublic void removeExcludeFile(String excludeFile)
excludeFile
- the exclude fileCopyright © 2021. All rights reserved.