java.lang.Object
net.i2p.router.peermanager.ProfilePersistenceHelper.ProfileFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
ProfilePersistenceHelper

private static class ProfilePersistenceHelper.ProfileFilterextends Object implements FilenameFilter
Filter selecting the profile files.
  • Constructor Details

    • ProfileFilter

      private ProfileFilter()
      Filter accepting filenames that match the profile naming pattern.
  • Method Details

    • accept

      public boolean accept(File dir, String filename)
      Whether the filename matches the profile naming pattern.
      Specified by:
      accept in interface FilenameFilter