Class WalaProperties
java.lang.Object
com.ibm.wala.properties.WalaProperties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]static String[]Determine the classpath noted in wala.properties for J2SE standard librariesstatic String[]getJarsInDirectory(String dir) static String[]getJDKLibraryFiles(boolean justBase) Determine the classpath noted in wala.properties for J2SE standard librariesstatic StringDeprecated.because when running under eclipse, there may be no such directory.static Propertiesstatic PropertiesloadPropertiesFromFile(ClassLoader loader, String fileName)
-
Field Details
-
WALA_REPORT
- See Also:
-
INPUT_DIR
- See Also:
-
OUTPUT_DIR
- See Also:
-
J2SE_DIR
- See Also:
-
J2EE_DIR
- See Also:
-
ECLIPSE_PLUGINS_DIR
- See Also:
-
ANDROID_RT_DEX_DIR
- See Also:
-
ANDROID_RT_JAVA_JAR
- See Also:
-
ANDROID_DEX_TOOL
- See Also:
-
ANDROID_APK_TOOL
- See Also:
-
DROIDEL_TOOL
- See Also:
-
DROIDEL_ANDROID_JAR
- See Also:
-
-
Constructor Details
-
WalaProperties
public WalaProperties()
-
-
Method Details
-
getJ2SEJarFiles
Determine the classpath noted in wala.properties for J2SE standard librariesIf wala.properties cannot be loaded, returns library files in boot classpath.
- Throws:
IllegalStateException- if library files cannot be discovered- See Also:
-
getJDKLibraryFiles
Determine the classpath noted in wala.properties for J2SE standard librariesIf wala.properties cannot be loaded, returns library files in boot classpath.
- Parameters:
justBase- Only relevant if wala.properties cannot be loaded. Iftrue, only returns thejava.baselibrary from boot classpath. Otherwise, returns all library modules from boot classpath.- See Also:
-
getJ2EEJarFiles
- Returns:
- names of the Jar files holding J2EE libraries
- Throws:
IllegalStateException- if the J2EE_DIR property is not set
-
getJarsInDirectory
-
loadProperties
- Throws:
WalaException
-
loadPropertiesFromFile
public static Properties loadPropertiesFromFile(ClassLoader loader, String fileName) throws IOException - Throws:
IOException
-
getWalaHomeDir
Deprecated.because when running under eclipse, there may be no such directory. Need to handle that case.
-