com.android.sdklib.build
Class SourceSearcher

java.lang.Object
  extended by com.android.sdklib.build.SourceSearcher

public class SourceSearcher
extends java.lang.Object

Class to search for source files (by extension) in a set of source folders.


Nested Class Summary
static interface SourceSearcher.SourceFileProcessor
           
 
Constructor Summary
SourceSearcher(java.util.List<java.io.File> sourceFolders, java.lang.String... extensions)
           
 
Method Summary
 void search(SourceSearcher.SourceFileProcessor processor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceSearcher

public SourceSearcher(@NonNull
                      java.util.List<java.io.File> sourceFolders,
                      @NonNull
                      java.lang.String... extensions)
Method Detail

search

public void search(@NonNull
                   SourceSearcher.SourceFileProcessor processor)
            throws java.io.IOException
Throws:
java.io.IOException