|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.FixCRLF.OneLiner
protected class FixCRLF.OneLiner
Deprecated, the functionality has been moved to filters.FixCrLfFilter.
Constructor Summary | |
---|---|
FixCRLF.OneLiner(java.io.File srcFile)
Deprecated. Constructor. |
Method Summary | |
---|---|
void |
close()
Deprecated. Close the reader. |
java.lang.String |
getEofStr()
Deprecated. get the eof string. |
int |
getState()
Deprecated. get the state. |
boolean |
hasMoreElements()
Deprecated. |
java.lang.Object |
nextElement()
Deprecated. get the next element. |
protected void |
nextLine()
Deprecated. Move to the next line. |
void |
setState(int state)
Deprecated. Set the state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixCRLF.OneLiner(java.io.File srcFile) throws BuildException
srcFile
- the file to read.
BuildException
- if there is an error.Method Detail |
---|
protected void nextLine() throws BuildException
BuildException
- if there is an error.public java.lang.String getEofStr()
public int getState()
public void setState(int state)
state
- the value to use.public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration
java.util.NoSuchElementException
- if there is no more.public void close() throws java.io.IOException
java.io.IOException
- if there is an error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |