org.eclipse.mofscript.runtime
Class BlockOutputStream.FileBlock
java.lang.Object
org.eclipse.mofscript.runtime.BlockOutputStream.FileBlock
- Direct Known Subclasses:
- BlockOutputStream.ProtectedFileBlock, BlockOutputStream.UnprotectedFileBlock
- Enclosing class:
- BlockOutputStream
public class BlockOutputStream.FileBlock
- extends java.lang.Object
- Author:
- jol
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockOutputStream.FileBlock
public BlockOutputStream.FileBlock(java.lang.String id)
- Root block
- Parameters:
id
-
position
public int position()
- Returns:
getMergeDiff
public int getMergeDiff()
getLineCount
public int getLineCount()
setLineCount
public void setLineCount(int count)
getBlockStart
public int getBlockStart()
- Returns:
write
public void write(int b)
- Parameters:
b
-
write
public void write(byte[] data)
- Parameters:
data
-
newBlock
public void newBlock(boolean isProtected,
java.lang.String id)
- Parameters:
isProtected
- id
-
merge
public void merge(BlockOutputStream.FileBlock otherBlock)
- Parameters:
otherBlock
-
get_endLine
public int get_endLine()
set_endLine
public void set_endLine(int line)
get_startLine
public int get_startLine()
set_startLine
public void set_startLine(int line)