com.android.sdklib.internal.build
Class BuildConfigGenerator

java.lang.Object
  extended by com.android.sdklib.internal.build.BuildConfigGenerator

Deprecated. Use Android-Builder instead

@Deprecated
public class BuildConfigGenerator
extends java.lang.Object

Class able to generate a BuildConfig class in Android project. The BuildConfig class contains constants related to the build target.


Field Summary
static java.lang.String BUILD_CONFIG_NAME
          Deprecated.  
 
Constructor Summary
BuildConfigGenerator(java.lang.String genFolder, java.lang.String appPackage, boolean debug)
          Deprecated. Creates a generator
 
Method Summary
 void generate()
          Deprecated. Generates the BuildConfig class.
 java.io.File getBuildConfigFile()
          Deprecated.  
 java.io.File getFolderPath()
          Deprecated. Returns a File representing where the BuildConfig class will be.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILD_CONFIG_NAME

public static final java.lang.String BUILD_CONFIG_NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

BuildConfigGenerator

public BuildConfigGenerator(java.lang.String genFolder,
                            java.lang.String appPackage,
                            boolean debug)
Deprecated. 
Creates a generator

Parameters:
genFolder - the gen folder of the project
appPackage - the application package
debug - whether it's a debug build
Method Detail

getFolderPath

public java.io.File getFolderPath()
Deprecated. 
Returns a File representing where the BuildConfig class will be.


getBuildConfigFile

public java.io.File getBuildConfigFile()
Deprecated. 

generate

public void generate()
              throws java.io.IOException
Deprecated. 
Generates the BuildConfig class.

Throws:
java.io.IOException