protected class FixCRLF.OneLiner
extends java.lang.Object
implements java.util.Enumeration
| Constructor and Description |
|---|
FixCRLF.OneLiner(java.io.File srcFile)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public FixCRLF.OneLiner(java.io.File srcFile)
throws BuildException
srcFile - the file to read.BuildException - if there is an error.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.Enumerationpublic java.lang.Object nextElement()
throws java.util.NoSuchElementException
nextElement in interface java.util.Enumerationjava.util.NoSuchElementException - if there is no more.public void close()
throws java.io.IOException
java.io.IOException - if there is an error.