Package org.apache.tools.ant.taskdefs
Class FixCRLF.OneLiner
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.FixCRLF.OneLiner
 
- 
- All Implemented Interfaces:
- java.util.Enumeration<java.lang.Object>
 - Enclosing class:
- FixCRLF
 
 @Deprecated protected class FixCRLF.OneLiner extends java.lang.Object implements java.util.Enumeration<java.lang.Object>Deprecated.since 1.7.0.Deprecated, the functionality has been moved to filters.FixCrLfFilter.
- 
- 
Constructor SummaryConstructors Constructor Description OneLiner(java.io.File srcFile)Deprecated.Constructor.
 - 
Method SummaryModifier and Type Method Description voidclose()Deprecated.Close the reader.java.lang.StringgetEofStr()Deprecated.get the eof string.intgetState()Deprecated.get the state.booleanhasMoreElements()Deprecated.java.lang.ObjectnextElement()Deprecated.get the next element.protected voidnextLine()Deprecated.Move to the next line.voidsetState(int state)Deprecated.Set the state.
 
- 
- 
- 
Constructor Detail- 
OneLinerpublic OneLiner(java.io.File srcFile) throws BuildExceptionDeprecated.Constructor.- Parameters:
- srcFile- the file to read.
- Throws:
- BuildException- if there is an error.
 
 
- 
 - 
Method Detail- 
nextLineprotected void nextLine() throws BuildExceptionDeprecated.Move to the next line.- Throws:
- BuildException- if there is an error.
 
 - 
getEofStrpublic java.lang.String getEofStr() Deprecated.get the eof string.- Returns:
- the eof string.
 
 - 
getStatepublic int getState() Deprecated.get the state.- Returns:
- the state.
 
 - 
setStatepublic void setState(int state) Deprecated.Set the state.- Parameters:
- state- the value to use.
 
 - 
hasMoreElementspublic boolean hasMoreElements() Deprecated.- Specified by:
- hasMoreElementsin interface- java.util.Enumeration<java.lang.Object>
- Returns:
- true if there is more elements.
 
 - 
nextElementpublic java.lang.Object nextElement() throws java.util.NoSuchElementExceptionDeprecated.get the next element.- Specified by:
- nextElementin interface- java.util.Enumeration<java.lang.Object>
- Returns:
- the next element.
- Throws:
- java.util.NoSuchElementException- if there is no more.
 
 - 
closepublic void close() throws java.io.IOExceptionDeprecated.Close the reader.- Throws:
- java.io.IOException- if there is an error.
 
 
- 
 
-