org.apache.tools.ant.taskdefs
protected class FixCRLF.OneLiner extends Object implements Enumeration
Deprecated: since 1.7.0.
Deprecated, the functionality has been moved to filters.FixCrLfFilter.Constructor Summary | |
---|---|
OneLiner(File srcFile)
Constructor. |
Method Summary | |
---|---|
void | close()
Close the reader. |
String | getEofStr()
get the eof string. |
int | getState()
get the state. |
boolean | hasMoreElements() |
Object | nextElement()
get the next element. |
protected void | nextLine()
Move to the next line. |
void | setState(int state)
Set the state. |
Parameters: srcFile the file to read.
Throws: BuildException if there is an error.
Throws: IOException if there is an error.
Returns: the eof string.
Returns: the state.
Returns: true if there is more elements.
Returns: the next element.
Throws: NoSuchElementException if there is no more.
Throws: BuildException if there is an error.
Parameters: state the value to use.