Class FileBody
- java.lang.Object
-
- org.mozilla.javascript.tools.idswitch.FileBody
-
public class FileBody extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char[]
getBuffer()
int
getLineBegin()
int
getLineEnd()
int
getLineNumber()
boolean
nextLine()
void
readData(java.io.Reader r)
boolean
setReplacement(int begin, int end, java.lang.String text)
void
startLineLoop()
boolean
wasModified()
void
writeData(java.io.Writer w)
void
writeInitialData(java.io.Writer w)
-
-
-
Method Detail
-
getBuffer
public char[] getBuffer()
-
readData
public void readData(java.io.Reader r) throws java.io.IOException
- Throws:
java.io.IOException
-
writeInitialData
public void writeInitialData(java.io.Writer w) throws java.io.IOException
- Throws:
java.io.IOException
-
writeData
public void writeData(java.io.Writer w) throws java.io.IOException
- Throws:
java.io.IOException
-
wasModified
public boolean wasModified()
-
setReplacement
public boolean setReplacement(int begin, int end, java.lang.String text)
-
getLineNumber
public int getLineNumber()
-
getLineBegin
public int getLineBegin()
-
getLineEnd
public int getLineEnd()
-
startLineLoop
public void startLineLoop()
-
nextLine
public boolean nextLine()
-
-