public class SourceBuffer extends Object
Constructor | Description |
---|---|
SourceBuffer() |
Modifier and Type | Method | Description |
---|---|---|
String |
getSnippet(LineColumn start,
LineColumn end) |
Obtains a snippet of the source code within the bounds specified
|
void |
write(int c) |
Writes the specified character into the buffer
|
public String getSnippet(LineColumn start, LineColumn end)
start
- (inclusive line/ inclusive column)end
- (inclusive line / exclusive column)public void write(int c)
c
-