gran.app.adapter.template
Class BaseTemplateAdapter

java.lang.Object
  extended bygran.app.adapter.template.BaseTemplateAdapter
All Implemented Interfaces:
Adapter, TemplateAdapter

public class BaseTemplateAdapter
extends java.lang.Object
implements TemplateAdapter


Constructor Summary
BaseTemplateAdapter()
           
 
Method Summary
 java.lang.String getDescription()
          Get description of adapter as plain text
 boolean init()
          Initialize adapter.
 void methodThatReturnNothingImpl(java.lang.String param)
           
 java.lang.String methodThatReturnSomethingImpl(java.lang.String param, java.lang.String result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTemplateAdapter

public BaseTemplateAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

methodThatReturnSomethingImpl

public java.lang.String methodThatReturnSomethingImpl(java.lang.String param,
                                                      java.lang.String result)
                                               throws GranException
Specified by:
methodThatReturnSomethingImpl in interface TemplateAdapter
Throws:
GranException

methodThatReturnNothingImpl

public void methodThatReturnNothingImpl(java.lang.String param)
                                 throws GranException
Specified by:
methodThatReturnNothingImpl in interface TemplateAdapter
Throws:
GranException


Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.