org.herac.tuxguitar.io.ptb
Class PTInputStream

java.lang.Object
  extended by org.herac.tuxguitar.io.ptb.PTInputStream

public class PTInputStream
extends java.lang.Object


Constructor Summary
PTInputStream()
           
 
Method Summary
 TGFileFormat getFileFormat()
           
 void init(TGFactory factory, java.io.InputStream stream)
           
 boolean isSupportedVersion()
           
 boolean isSupportedVersion(java.lang.String version)
           
 TGSong readSong()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PTInputStream

public PTInputStream()
Method Detail

init

public void init(TGFactory factory,
                 java.io.InputStream stream)

getFileFormat

public TGFileFormat getFileFormat()

isSupportedVersion

public boolean isSupportedVersion(java.lang.String version)

isSupportedVersion

public boolean isSupportedVersion()

readSong

public TGSong readSong()
                throws java.io.IOException
Throws:
java.io.IOException