Interface AssetFilenameFilter


public interface AssetFilenameFilter
Instances of classes that implement this interface are used to filter filenames. These instances are used to filter directory listings in the list method of class AssetFile.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept​(AssetFile dir, String name)
    Tests if a specified assetFile should be included in a file list.
  • Method Details

    • accept

      boolean accept(AssetFile dir, String name)
      Tests if a specified assetFile should be included in a file list.
      Parameters:
      dir - the directory in which the file was found.
      name - the name of the file.
      Returns:
      true if and only if the name should be included in the file list; false otherwise.