Class XmlFileContainer
- java.lang.Object
-
- com.vaadin.v7.data.util.FilesystemContainer
-
- org.opennms.features.vaadin.config.XmlFileContainer
-
- All Implemented Interfaces:
com.vaadin.v7.data.Container
,com.vaadin.v7.data.Container.Hierarchical
,Serializable
public class XmlFileContainer extends com.vaadin.v7.data.util.FilesystemContainer
The Class XmlFileContainer.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.v7.data.util.FilesystemContainer
com.vaadin.v7.data.util.FilesystemContainer.FileExtensionFilter, com.vaadin.v7.data.util.FilesystemContainer.FileItem
-
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Container
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
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
excludeList
The exclude list.
-
Constructor Summary
Constructors Constructor Description XmlFileContainer(File root, boolean recursive)
Instantiates a new XML file container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExcludeFile(String excludeFile)
Adds the exclude file.Collection<File>
getItemIds()
void
removeExcludeFile(String excludeFile)
Removes the exclude file.-
Methods inherited from class com.vaadin.v7.data.util.FilesystemContainer
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
-
-
-
-
Constructor Detail
-
XmlFileContainer
public XmlFileContainer(File root, boolean recursive)
Instantiates a new XML file container.- Parameters:
root
- the rootrecursive
- the recursive flag
-
-
Method Detail
-
getItemIds
public Collection<File> getItemIds()
- Specified by:
getItemIds
in interfacecom.vaadin.v7.data.Container
- Overrides:
getItemIds
in classcom.vaadin.v7.data.util.FilesystemContainer
-
addExcludeFile
public void addExcludeFile(String excludeFile)
Adds the exclude file.- Parameters:
excludeFile
- the exclude file
-
removeExcludeFile
public void removeExcludeFile(String excludeFile)
Removes the exclude file.- Parameters:
excludeFile
- the exclude file
-
-