Class able to generate a res value file in an Android project.
Modifiers | Name | Description |
---|---|---|
static String |
RES_VALUE_FILENAME_XML |
Constructor and description |
---|
ResValueGenerator
(File genFolder) Creates a generator |
Type | Name and description |
---|---|
ResValueGenerator |
addItems(Collection<Object> items) |
ResValueGenerator |
addResource(String type, String name, String value) |
void |
generate() Generates the resource files |
File |
getFolderPath() Returns a File representing where the BuildConfig class will be. |
Creates a generator
genFolder
- the gen folder of the projectGenerates the resource files
Returns a File representing where the BuildConfig class will be.