org.apache.tools.ant.taskdefs
Class FixCRLF.OneLiner
java.lang.Object
org.apache.tools.ant.taskdefs.FixCRLF.OneLiner
- FixCRLF
- Enumeration
protected class FixCRLF.OneLiner
extends java.lang.Object
implements Enumeration
Deprecated, the functionality has been moved to filters.FixCrLfFilter.
OneLiner
public OneLiner(File srcFile)
throws BuildException
Constructor.
srcFile
- the file to read.
close
public void close()
throws IOException
Close the reader.
getEofStr
public String getEofStr()
get the eof string.
getState
public int getState()
get the state.
hasMoreElements
public boolean hasMoreElements()
- true if there is more elements.
nextElement
public Object nextElement()
throws NoSuchElementException
get the next element.
nextLine
protected void nextLine()
throws BuildException
Move to the next line.
setState
public void setState(int state)
Set the state.
state
- the value to use.