Class ClientDirectoryFilter

  • All Implemented Interfaces:
    ClientFilter

    public class ClientDirectoryFilter
    extends java.lang.Object
    implements ClientFilter
    Author:
    Ikasan Development Team
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ClientListEntry> filter​(java.util.List<ClientListEntry> entries)
      Method to filter out unmatched ClientListEntry objects from an ArrayList.
      boolean match​(ClientListEntry lsEntry)
      Method to match ClientListEntry objects based on whether they represent directories or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClientDirectoryFilter

        public ClientDirectoryFilter()
        Constructor
    • Method Detail

      • match

        public boolean match​(ClientListEntry lsEntry)
        Method to match ClientListEntry objects based on whether they represent directories or not.
        Specified by:
        match in interface ClientFilter
        Parameters:
        lsEntry - The ClientListEntry to match.
        Returns:
        true if ClientListEntry is a directory, false otherwise.
      • filter

        public java.util.List<ClientListEntry> filter​(java.util.List<ClientListEntry> entries)
        Method to filter out unmatched ClientListEntry objects from an ArrayList.
        Specified by:
        filter in interface ClientFilter
        Parameters:
        entries - The ArrayList of ClientListEntries to filter.
        Returns:
        An ArrayList of all ClientListEntries matching the Filter's criteria