Deprecated
since 1.2.x. Use LogOutputStream instead.
System.setOut(new PrintStream(new TaskOutputStream(project, Project.MSG_INFO)));
As of Ant 1.2, this class is considered to be dead code by the Ant developers and is unmaintained. Don't use it.
| Modifier and Type | Field and Description |
|---|---|
| private StringBuffer | |
| private int | |
| private Task |
| Access | Constructor and Description |
|---|---|
| pack-priv | TaskOutputStream(Task task, int msgOutputLevel)
Constructs a new JavacOutputStream with the given project as the output source for messages. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | write(int
the character to write c)Implements abstract java. |
| line | back to summary |
|---|---|
| private StringBuffer line | |
| msgOutputLevel | back to summary |
|---|---|
| private int msgOutputLevel | |
| task | back to summary |
|---|---|
| private Task task | |
| TaskOutputStream | back to summary |
|---|---|
| pack-priv TaskOutputStream(Task task, int msgOutputLevel) Constructs a new JavacOutputStream with the given project as the output source for messages. | |
| processLine | back to summary |
|---|---|
| private void processLine() Processes a line of input and determines if an error occurred. | |
| write | back to summary |
|---|---|
| public void write(int c) throws IOException Implements abstract java. Write a character to the output stream. This method looks to make sure that there isn't an error being reported and will flush each line of input out to the project's log stream.
| |