org.herac.tuxguitar.io.pt

Class PTB4InputStream


public class PTB4InputStream
extends PTBInputStream

Nested Class Summary

Nested classes/interfaces inherited from class org.herac.tuxguitar.io.pt.PTBInputStream

PTBInputStream.BarHelper, PTBInputStream.BeatHelper, PTBInputStream.GuitarInHelper, PTBInputStream.NoteHelper, PTBInputStream.SongInfo, PTBInputStream.TempoHelper, PTBInputStream.TrackHelper, PTBInputStream.TrackInfo

Field Summary

Fields inherited from class org.herac.tuxguitar.io.pt.PTBInputStream

TRACK_TYPE_BASS, TRACK_TYPE_GUITAR, headers, lastUsedChannel, trackInfos, tracks, version

Constructor Summary

PTB4InputStream(FileInputStream file)
PTB4InputStream(String fileName)

Method Summary

boolean
isSupportedVersion()
boolean
isSupportedVersion(String version)
static void
main(String[] s)
Song
readSong()

Methods inherited from class org.herac.tuxguitar.io.pt.PTBInputStream

checkSong, debug, debug, getHeader, getLastHeader, getMeasure, getTrack, isSupportedVersion, isSupportedVersion, makeSectionNotes, makeTrackChannels, readByte, readString, readString, readUCType, readUChar, readUInt, readULong

Constructor Details

PTB4InputStream

public PTB4InputStream(FileInputStream file)
            throws FileNotFoundException

PTB4InputStream

public PTB4InputStream(String fileName)
            throws FileNotFoundException

Method Details

isSupportedVersion

public boolean isSupportedVersion()
Overrides:
isSupportedVersion in interface PTBInputStream

isSupportedVersion

public boolean isSupportedVersion(String version)
Overrides:
isSupportedVersion in interface PTBInputStream

main

public static void main(String[] s)

readSong

public Song readSong()
            throws IOException