com.android.ide.common.res2
Interface SourceSet

All Known Implementing Classes:
AssetSet, ResourceSet

public interface SourceSet

A Source sets that contains a list of source files/folders


Method Summary
 java.io.File findMatchingSourceFile(java.io.File file)
          Finds and returns a Source file/folder containing a given file.
 java.util.List<java.io.File> getSourceFiles()
          Returns a list of Source files or folders.
 

Method Detail

getSourceFiles

@NonNull
java.util.List<java.io.File> getSourceFiles()
Returns a list of Source files or folders.

Returns:
a non null list.

findMatchingSourceFile

java.io.File findMatchingSourceFile(java.io.File file)
Finds and returns a Source file/folder containing a given file. It doesn't actually check if the file exists, instead just cares about the file path.

Parameters:
file - the file to search for
Returns:
the source file containing the file or null if none are found.