org.herac.tuxguitar.io.gp

Class GP4InputStream


public class GP4InputStream
extends InputStream

Constructor Summary

GP4InputStream(InputStream inputStream)
GP4InputStream(String fileName)

Method Summary

void
close()
boolean
isSupportedVersion()
static boolean
isSupportedVersion(String version)
int
read()
Song
readSong()
void
readTremoloPicking(NoteEffect effect)

Constructor Details

GP4InputStream

public GP4InputStream(InputStream inputStream)

GP4InputStream

public GP4InputStream(String fileName)
            throws FileNotFoundException

Method Details

close

public void close()
            throws IOException

isSupportedVersion

public boolean isSupportedVersion()

isSupportedVersion

public static boolean isSupportedVersion(String version)

read

public int read()
            throws IOException

readSong

public Song readSong()
            throws IOException,
                   GPFormatException

readTremoloPicking

public void readTremoloPicking(NoteEffect effect)
            throws IOException