ConfigFileFilter

public class ConfigFileFilter extends FileFileFilter

FileFilter implementation to filter configuration files.

Fields

PLATFORM_CORE_CONFIG_FILTER

public static final FileFileFilter PLATFORM_CORE_CONFIG_FILTER

Methods

accept

public boolean accept(File file)

isFileSupported

public static boolean isFileSupported(File file)

Checks whether given file is supported.

Parameters:
  • file – the file to be checked
Returns:

true if file is supported, else otherwise

isPlatformCoreConfigFile

public static boolean isPlatformCoreConfigFile(File file)

Checks whether given file is platform core configuration file.

Parameters:
  • file – the file to be checked, null returns false
Returns:

true if file is platform core configuration, false otherwise