Package org.apache.tools.ant.taskdefs
Class FixCRLF.OneLiner
java.lang.Object
org.apache.tools.ant.taskdefs.FixCRLF.OneLiner
- All Implemented Interfaces:
- Enumeration<Object>
- Enclosing class:
- FixCRLF
Deprecated.
since 1.7.0.
Deprecated, the functionality has been moved to filters.FixCrLfFilter.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Deprecated.Close the reader.Deprecated.get the eof string.intgetState()Deprecated.get the state.booleanDeprecated.Deprecated.get the next element.protected voidnextLine()Deprecated.Move to the next line.voidsetState(int state) Deprecated.Set the state.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.EnumerationasIterator
- 
Constructor Details- 
OneLinerDeprecated.Constructor.- Parameters:
- srcFile- the file to read.
- Throws:
- BuildException- if there is an error.
 
 
- 
- 
Method Details- 
nextLineDeprecated.Move to the next line.- Throws:
- BuildException- if there is an error.
 
- 
getEofStrDeprecated.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- Enumeration<Object>
- Returns:
- true if there is more elements.
 
- 
nextElementDeprecated.get the next element.- Specified by:
- nextElementin interface- Enumeration<Object>
- Returns:
- the next element.
- Throws:
- NoSuchElementException- if there is no more.
 
- 
closeDeprecated.Close the reader.- Throws:
- IOException- if there is an error.
 
 
-