Browse Source

javadoc

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@473819 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 19 years ago
parent
commit
f0549fed8b
2 changed files with 11 additions and 8 deletions
  1. +3
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/Cab.java
  2. +8
    -7
      src/main/org/apache/tools/ant/taskdefs/optional/Javah.java

+ 3
- 1
src/main/org/apache/tools/ant/taskdefs/optional/Cab.java View File

@@ -140,6 +140,7 @@ public class Cab extends MatchingTask {
/**
* Create a new exec delegate. The delegate task is populated so that
* it appears in the logs to be the same task as this one.
* @return the delegate.
* @throws BuildException on error.
*/
protected ExecTask createExec() throws BuildException {
@@ -171,7 +172,7 @@ public class Cab extends MatchingTask {
* <p>This method expects to only be called on Windows and thus
* quotes the file names.</p>
* @param files the list of files to use.
* @param the list file created.
* @return the list file created.
* @throws IOException if there is an error.
*/
protected File createListFile(Vector files)
@@ -208,6 +209,7 @@ public class Cab extends MatchingTask {
* are gathered from the fileset if it has been added, otherwise from the
* traditional include parameters.
* @return the list of files.
* @throws BuildException if there is an error.
*/
protected Vector getFileList() throws BuildException {
Vector files = new Vector();


+ 8
- 7
src/main/org/apache/tools/ant/taskdefs/optional/Javah.java View File

@@ -249,7 +249,7 @@ public class Javah extends Task {

/**
* The bootclasspath to use.
*
* @return the bootclass path.
* @since Ant 1.6.3
*/
public Path getBootclasspath() {
@@ -267,7 +267,7 @@ public class Javah extends Task {

/**
* The destination file, if any.
*
* @return the destination file.
* @since Ant 1.6.3
*/
public File getOutputfile() {
@@ -284,7 +284,7 @@ public class Javah extends Task {

/**
* Whether output files should always be written.
*
* @return the force attribute.
* @since Ant 1.6.3
*/
public boolean getForce() {
@@ -304,7 +304,7 @@ public class Javah extends Task {

/**
* Whether old JDK1.0-style header files should be generated.
*
* @return the old attribute.
* @since Ant 1.6.3
*/
public boolean getOld() {
@@ -321,7 +321,7 @@ public class Javah extends Task {

/**
* Whether C declarations from the Java object file should be generated.
*
* @return the stubs attribute.
* @since Ant 1.6.3
*/
public boolean getStubs() {
@@ -339,7 +339,7 @@ public class Javah extends Task {

/**
* Whether verbose output should get generated.
*
* @return the verbose attribute.
* @since Ant 1.6.3
*/
public boolean getVerbose() {
@@ -375,7 +375,7 @@ public class Javah extends Task {
/**
* Returns the (implementation specific) settings given as nested
* arg elements.
*
* @return the arguments.
* @since Ant 1.6.3
*/
public String[] getCurrentArgs() {
@@ -428,6 +428,7 @@ public class Javah extends Task {
/**
* Logs the compilation parameters, adds the files to compile and logs the
* &quot;niceSourceList&quot;
* @param cmd the command line.
*/
public void logAndAddFiles(Commandline cmd) {
logAndAddFilesToCompile(cmd);


Loading…
Cancel
Save