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