public class ClientProcessorEnvironment extends ProcessorEnvironmentBase implements ProcessorEnvironment
classLoaderF_VERBOSE, F_WARNINGS| Constructor and Description |
|---|
ClientProcessorEnvironment(OutputStream out,
String classPath,
ProcessorNotificationListener listener)
Create a ClientProcessorEnvironment with the given class path,
stream for messages and ProcessorNotificationListener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGeneratedFile(GeneratedFileInfo file)
Remember info on generated source file generated so that it
can be removed later, if appropriate.
|
void |
deleteGeneratedFiles()
Delete all the generated source files made during the execution
of this environment (those that have been registered with the
"addGeneratedFile" method).
|
void |
error(Localizable msg) |
String |
getClassPath()
Get the ClassPath.
|
int |
getErrorCount() |
int |
getFlags()
Get the environment flags
|
Iterator |
getGeneratedFiles()
Return all the generated files and its types.
|
Names |
getNames() |
int |
getWarningCount() |
void |
info(Localizable msg) |
void |
printStackTrace(Throwable t) |
void |
setFlags(int flags)
Set the environment flags
|
void |
setNames(Names names) |
void |
shutdown()
Release resources, if any.
|
boolean |
verbose()
Is verbose turned on
|
void |
warn(Localizable msg) |
fileToURL, getClassLoader, pathToURLsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassLoaderpublic ClientProcessorEnvironment(OutputStream out, String classPath, ProcessorNotificationListener listener)
public void setFlags(int flags)
public int getFlags()
public String getClassPath()
public boolean verbose()
public void addGeneratedFile(GeneratedFileInfo file)
public Iterator getGeneratedFiles()
getGeneratedFiles in interface ProcessorEnvironmentpublic void deleteGeneratedFiles()
public void shutdown()
public void error(Localizable msg)
public void warn(Localizable msg)
public void info(Localizable msg)
public void printStackTrace(Throwable t)
public Names getNames()
public int getErrorCount()
public int getWarningCount()
public void setNames(Names names)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.