You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2005/03/14 11:05:38 UTC
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs JikesOutputParser.java
peterreilly 2005/03/14 02:05:38
Modified: src/main/org/apache/tools/ant/taskdefs
JikesOutputParser.java
Log:
javadoc
Revision Changes Path
1.22 +9 -2 ant/src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java
Index: JikesOutputParser.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- JikesOutputParser.java 9 Mar 2004 16:48:06 -0000 1.21
+++ JikesOutputParser.java 14 Mar 2005 10:05:38 -0000 1.22
@@ -1,5 +1,5 @@
/*
- * Copyright 2000,2002-2004 The Apache Software Foundation
+ * Copyright 2000,2002-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,18 +47,22 @@
/**
* Ignore.
+ * @param os ignored
*/
public void setProcessInputStream(OutputStream os) {
}
/**
* Ignore.
+ * @param is ignored
*/
public void setProcessErrorStream(InputStream is) {
}
/**
* Set the inputstream
+ * @param is the input stream
+ * @throws IOException on error
*/
public void setProcessOutputStream(InputStream is) throws IOException {
br = new BufferedReader(new InputStreamReader(is));
@@ -66,6 +70,7 @@
/**
* Invokes parseOutput.
+ * @throws IOException on error
*/
public void start() throws IOException {
parseOutput(br);
@@ -79,7 +84,8 @@
/**
* Construct a new Parser object
- * @param task - task in which context we are called
+ * @param task task in which context we are called
+ * @param emacsMode if true output in emacs mode
*/
protected JikesOutputParser(Task task, boolean emacsMode) {
super();
@@ -97,6 +103,7 @@
/**
* Parse the output of a jikes compiler
* @param reader - Reader used to read jikes's output
+ * @throws IOException on error
*/
protected void parseOutput(BufferedReader reader) throws IOException {
if (emacsMode) {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org