org.apache.commons.io.filefilter

Class TrueFileFilter

    • Field Detail

      • TRUE

        public static final IOFileFilter TRUE
        Singleton instance of true filter.
        Since:
        1.3
      • INSTANCE

        public static final IOFileFilter INSTANCE
        Singleton instance of true filter. Please use the identical TrueFileFilter.TRUE constant. The new name is more JDK 1.5 friendly as it doesn't clash with other values when using static imports.
    • Constructor Detail

      • TrueFileFilter

        protected TrueFileFilter()
        Restrictive constructor.
    • Method Detail

      • accept

        public boolean accept(File file)
        Returns true.
        Specified by:
        accept in interface FileFilter
        Specified by:
        accept in interface IOFileFilter
        Parameters:
        file - the file to check (ignored)
        Returns:
        true
      • accept

        public boolean accept(File dir,             String name)
        Returns true.
        Specified by:
        accept in interface FilenameFilter
        Specified by:
        accept in interface IOFileFilter
        Parameters:
        dir - the directory to check (ignored)
        name - the filename (ignored)
        Returns:
        true

Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14