public final class TemplateBuffer extends Object
Clients may instantiate this class.
Constructor and Description |
---|
TemplateBuffer(String string,
TemplateVariable[] variables)
Creates a template buffer.
|
Modifier and Type | Method and Description |
---|---|
String |
getString()
Returns the string of the template buffer.
|
TemplateVariable[] |
getVariables()
Returns the variable positions of the template buffer.
|
void |
setContent(String string,
TemplateVariable[] variables)
Sets the content of the template buffer.
|
public TemplateBuffer(String string, TemplateVariable[] variables)
string
- the stringvariables
- the variable positionspublic final void setContent(String string, TemplateVariable[] variables)
string
- the stringvariables
- the variable positionspublic final String getString()
public final TemplateVariable[] getVariables()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.