com.android.ide.common.res2
Interface ResourcePreprocessor

All Known Implementing Classes:
NoOpResourcePreprocessor

public interface ResourcePreprocessor

Provides functionality the resource merger needs for preprocessing resources during merge.


Method Summary
 void generateFile(java.io.File toBeGenerated, java.io.File original)
          Actually generate the file based on the original file.
 java.util.Collection<java.io.File> getFilesToBeGenerated(java.io.File original)
          Returns the paths that should be generated for the given file.
 boolean needsPreprocessing(java.io.File file)
          Checks if the given file should be replaced by N generated files.
 

Method Detail

needsPreprocessing

boolean needsPreprocessing(java.io.File file)
Checks if the given file should be replaced by N generated files.


getFilesToBeGenerated

java.util.Collection<java.io.File> getFilesToBeGenerated(java.io.File original)
Returns the paths that should be generated for the given file.


generateFile

void generateFile(java.io.File toBeGenerated,
                  java.io.File original)
                  throws java.io.IOException
Actually generate the file based on the original file.

Throws:
java.io.IOException