Class 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.
      • Fields inherited from class com.vaadin.v7.data.util.FilesystemContainer

        FILE_PROPERTIES, PROPERTY_ICON, PROPERTY_LASTMODIFIED, PROPERTY_NAME, PROPERTY_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlFileContainer​(File root, boolean recursive)
      Instantiates a new XML file container.
    • Field Detail

      • excludeList

        protected List<String> excludeList
        The exclude list.
    • Constructor Detail

      • XmlFileContainer

        public XmlFileContainer​(File root,
                                boolean recursive)
        Instantiates a new XML file container.
        Parameters:
        root - the root
        recursive - the recursive flag
    • Method Detail

      • getItemIds

        public Collection<File> getItemIds()
        Specified by:
        getItemIds in interface com.vaadin.v7.data.Container
        Overrides:
        getItemIds in class com.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