org.herac.tuxguitar.gui.system.plugins.base
Class TGInputStreamPlugin

java.lang.Object
  extended by org.herac.tuxguitar.gui.system.plugins.base.TGPluginAdapter
      extended by org.herac.tuxguitar.gui.system.plugins.base.TGInputStreamPlugin
All Implemented Interfaces:
TGPlugin

public abstract class TGInputStreamPlugin
extends TGPluginAdapter


Constructor Summary
TGInputStreamPlugin()
           
 
Method Summary
protected  void addPlugin()
           
 void close()
           
protected abstract  TGInputStreamBase getInputStream()
           
 void init()
           
protected  void removePlugin()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class org.herac.tuxguitar.gui.system.plugins.base.TGPluginAdapter
getAuthor, getDescription, getName, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TGInputStreamPlugin

public TGInputStreamPlugin()
Method Detail

getInputStream

protected abstract TGInputStreamBase getInputStream()
                                             throws TGPluginException
Throws:
TGPluginException

init

public void init()
          throws TGPluginException
Throws:
TGPluginException

close

public void close()
           throws TGPluginException
Throws:
TGPluginException

setEnabled

public void setEnabled(boolean enabled)
                throws TGPluginException
Throws:
TGPluginException

addPlugin

protected void addPlugin()
                  throws TGPluginException
Throws:
TGPluginException

removePlugin

protected void removePlugin()
                     throws TGPluginException
Throws:
TGPluginException