@Test public void testListFiles() { assertEquals( 12, FileUtils.listFiles( new File( "src/test/resources" ), new FlexFilter(), true ).size() ); final List< File > sourceDirectory = new ArrayList< File >(); sourceDirectory.add( new File( "src/test/resources/com/adobe/ac/ncss/flexunit" ) ); sourceDirectory.add( new File( "src/test/resources/com/adobe/ac/ncss/mxml" ) ); assertEquals( 12, FileUtils.listFiles( sourceDirectory, new FlexFilter(), true ).size() ); assertEquals( 0, FileUtils.listFiles( new File( "./src/main/java" ), new FlexFilter(), true ).size() ); }
public static Collection< File > listFiles( final File directory, final FilenameFilter filter, final boolean recurse ) { final ArrayList< File > files = listFilesRecurse( directory, filter, recurse ); Collections.sort( files, new FilePathComparator() ); return files; }
FileUtils { public static Collection< File > listFiles( final File directory, final FilenameFilter filter, final boolean recurse ) { final ArrayList< File > files = listFilesRecurse( directory, filter, recurse ); Collections.sort( files, new FilePathComparator() ); return files; } }
FileUtils { public static Collection< File > listFiles( final File directory, final FilenameFilter filter, final boolean recurse ) { final ArrayList< File > files = listFilesRecurse( directory, filter, recurse ); Collections.sort( files, new FilePathComparator() ); return files; } private  FileUtils(); }
FileUtils { public static Collection< File > listFiles( final File directory, final FilenameFilter filter, final boolean recurse ) { final ArrayList< File > files = listFilesRecurse( directory, filter, recurse ); Collections.sort( files, new FilePathComparator() ); return files; } private  FileUtils(); static boolean isLineACorrectStatement( final String line ); static Collection< File > listFiles( final File directory,
                                               final FilenameFilter filter,
                                               final boolean recurse ); static Collection< File > listFiles( final List< File > sourceDirectory,
                                               final FilenameFilter filter,
                                               final boolean recurse ); static List< String > readFile( final File file ); }
FileUtils { public static Collection< File > listFiles( final File directory, final FilenameFilter filter, final boolean recurse ) { final ArrayList< File > files = listFilesRecurse( directory, filter, recurse ); Collections.sort( files, new FilePathComparator() ); return files; } private  FileUtils(); static boolean isLineACorrectStatement( final String line ); static Collection< File > listFiles( final File directory,
                                               final FilenameFilter filter,
                                               final boolean recurse ); static Collection< File > listFiles( final List< File > sourceDirectory,
                                               final FilenameFilter filter,
                                               final boolean recurse ); static List< String > readFile( final File file ); static final Logger LOGGER; }