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