|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.util.packaging.processor.PackagingTraverser
wt.tools.ResourceGenerator
ResourceGenerator is for updating ResourceInfo (.rbInfo) files by propagating
entries from the default file to the locale specific versions of the
ResourceInfo files, and for building (compiling) the run-time resources
from the ResourceInfo (.rbInfo) files.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
protected static boolean |
COMPILE_GROUP
|
static boolean |
DEBUG
|
protected static boolean |
DIR_RECURSE
|
private static DebugWriter |
LOG
|
private ResourceInfo |
resourceInfo
|
protected static String |
SEARCH_ARTIFACT_DIR
|
private static String |
SIMPLE_CLASSNAME
|
private static String |
UNIX_FILE_SEP
|
Fields inherited from class com.ptc.windchill.util.packaging.processor.PackagingTraverser |
PROCESS_3RD_PARTY, PROCESS_DEPS, PROCESS_MULTIPLE, PROCESS_NON_MODELED, RECURSE_DEPS |
Constructor Summary | |
ResourceGenerator()
|
Method Summary | |
protected boolean |
argsOK(String[] args)
|
void |
execute(String[] args)
Execute with the passed arguments. |
static Enumeration |
getRbInfos(File dir)
|
void |
processClass(String qualifiedName)
Process the named class. |
void |
processDirectory(File dir)
|
void |
processDirectory(File dir,
String pkg)
|
void |
processModule(UnitIdentifier module_identifier)
Process the identified module. |
void |
processPackage(String pkg)
Process the named package. |
void |
processPackage(UnitIdentifier package_identifier)
Process the identified subsystem. |
protected void |
processResource(String resourceName)
|
private void |
processResources(Enumeration foundFiles,
String pkg)
|
void |
processTarget(String target)
Process the target. |
void |
processTargets(String targets)
Process the targets. |
Methods inherited from class com.ptc.windchill.util.packaging.processor.PackagingTraverser |
getModuleIdentifier, initialize, isFile, isIncludedModule, isIncludedPackage, packageName, postProcess, processClass, processDependency, processedModule, processFile, processModule, processModule, processModule, processRegistry, processSubsystem, processSubsystem, setClassProcessor, setModuleProcessor, setPackageProcessor, setRegistryProcessor, setSubsystemProcessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String CLASSNAME
private static final String SIMPLE_CLASSNAME
public static final boolean DEBUG
private static final DebugWriter LOG
private static final String UNIX_FILE_SEP
private ResourceInfo resourceInfo
protected static final boolean DIR_RECURSE
protected static final boolean COMPILE_GROUP
protected static final String SEARCH_ARTIFACT_DIR
Constructor Detail |
public ResourceGenerator()
Method Detail |
protected boolean argsOK(String[] args)
argsOK
in class PackagingTraverser
public void execute(String[] args) throws WTException
execute
in interface ExecutableApp
execute
in class PackagingTraverser
args
-
WTException
public void processTargets(String targets) throws WTException
processTargets
in class PackagingTraverser
targets
-
WTException
public void processTarget(String target) throws WTException
PackagingTraverser
processTarget
in class PackagingTraverser
target
-
WTException
public void processModule(UnitIdentifier module_identifier) throws WTException
PackagingTraverser
processModule
in interface ModuleProcessor
processModule
in class PackagingTraverser
module_identifier
-
WTException
public void processDirectory(File dir) throws WTException
WTException
public void processDirectory(File dir, String pkg) throws WTException
WTException
private void processResources(Enumeration foundFiles, String pkg) throws WTException
WTException
public static Enumeration getRbInfos(File dir) throws WTException
WTException
public void processClass(String qualifiedName) throws WTException
PackagingTraverser
processClass
in interface ClassProcessor
processClass
in class PackagingTraverser
qualifiedName
-
WTException
public void processPackage(UnitIdentifier package_identifier) throws WTException
PackagingTraverser
processPackage
in interface PackageProcessor
processPackage
in class PackagingTraverser
package_identifier
-
WTException
public void processPackage(String pkg) throws WTException
PackagingTraverser
processPackage
in interface PackageProcessor
processPackage
in class PackagingTraverser
pkg
-
WTException
protected void processResource(String resourceName) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |