|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.fikin.ant.types.Input
public class Input
Implement a genuin input type
Support file, property or nested text as an input
Provides with convenience methods for readin the data as input stream and such created on Jan 3, 2007
| Constructor Summary | |
|---|---|
Input()
|
|
| Method Summary | |
|---|---|
void |
addText(java.lang.String text)
set nested tag's text |
void |
check(org.apache.tools.ant.Task task)
test that any of the members has been set test if too many members have been set test if file is existing |
java.io.InputStream |
getInputStream(org.apache.tools.ant.Task task)
get a input stream object for the input |
java.io.Reader |
getReader(org.apache.tools.ant.Task task)
get a reader object for the input |
void |
setFile(java.io.File in)
set input file |
void |
setProperty(java.lang.String propertyName)
set input property name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Input()
| Method Detail |
|---|
public void setFile(java.io.File in)
in - is input filepublic void setProperty(java.lang.String propertyName)
propertyName - public void addText(java.lang.String text)
text -
public void check(org.apache.tools.ant.Task task)
throws org.apache.tools.ant.BuildException
check in interface Typetask - is enclosing ant task
org.apache.tools.ant.BuildException
public java.io.Reader getReader(org.apache.tools.ant.Task task)
throws org.apache.tools.ant.BuildException
task - enclosing task
org.apache.tools.ant.BuildException - in case some internal error occured
public java.io.InputStream getInputStream(org.apache.tools.ant.Task task)
throws org.apache.tools.ant.BuildException
task - enclosing task
org.apache.tools.ant.BuildException - in case some internal error occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||