Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text.templates
Class TemplateBuffer

java.lang.Object
  extended by 
org.eclipse.jface.text.templates.TemplateBuffer

public final class TemplateBuffer
extends Object

A template buffer is a container for a string and variables.

Clients may instantiate this class.

Since:
3.0

Constructor Summary
TemplateBuffer ( String string, TemplateVariable[] variables)
          Creates a template buffer.
 
Method Summary
  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.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateBuffer

public TemplateBuffer(
String string,
                      
TemplateVariable[] variables)
Creates a template buffer.

Parameters:
string - the string
variables - the variable positions
Method Detail

setContent

public final void setContent(
String string,
                             
TemplateVariable[] variables)
Sets the content of the template buffer.

Parameters:
string - the string
variables - the variable positions

getString

public final 
String getString()
Returns the string of the template buffer.

Returns:
the string representation of the template buffer

getVariables

public final 
TemplateVariable[] getVariables()
Returns the variable positions of the template buffer. The returned array is owned by this variable and must not be modified.

Returns:
the variable positions of the template buffer

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire