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/01/25 16:46:47 UTC
cvs commit: ant/src/main/org/apache/tools/ant/input PropertyFileInputHandler.java InputRequest.java
peterreilly 2005/01/25 07:46:47
Modified: src/main/org/apache/tools/ant/input
PropertyFileInputHandler.java InputRequest.java
Log:
javadoc
Revision Changes Path
1.11 +3 -2 ant/src/main/org/apache/tools/ant/input/PropertyFileInputHandler.java
Index: PropertyFileInputHandler.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/input/PropertyFileInputHandler.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- PropertyFileInputHandler.java 9 Mar 2004 16:48:03 -0000 1.10
+++ PropertyFileInputHandler.java 25 Jan 2005 15:46:47 -0000 1.11
@@ -1,5 +1,5 @@
/*
- * Copyright 2002,2004 The Apache Software Foundation
+ * Copyright 2002,2004-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.
@@ -46,6 +46,7 @@
/**
* Picks up the input from a property, using the prompt as the
* name of the property.
+ * @param request an input request.
*
* @exception BuildException if no property of that name can be found.
*/
1.9 +7 -2 ant/src/main/org/apache/tools/ant/input/InputRequest.java
Index: InputRequest.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/input/InputRequest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- InputRequest.java 9 Mar 2004 16:48:03 -0000 1.8
+++ InputRequest.java 25 Jan 2005 15:46:47 -0000 1.9
@@ -1,5 +1,5 @@
/*
- * Copyright 2002,2004 The Apache Software Foundation
+ * Copyright 2002,2004-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.
@@ -28,6 +28,7 @@
private String input;
/**
+ * Construct an InputRequest.
* @param prompt The prompt to show to the user. Must not be null.
*/
public InputRequest(String prompt) {
@@ -40,6 +41,7 @@
/**
* Retrieves the prompt text.
+ * @return the prompt.
*/
public String getPrompt() {
return prompt;
@@ -47,6 +49,7 @@
/**
* Sets the user provided input.
+ * @param input the string to be used for input.
*/
public void setInput(String input) {
this.input = input;
@@ -54,6 +57,7 @@
/**
* Is the user input valid?
+ * @return true if it is.
*/
public boolean isInputValid() {
return true;
@@ -61,6 +65,7 @@
/**
* Retrieves the user input.
+ * @return the user input.
*/
public String getInput() {
return input;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org