org.herac.tuxguitar.io.gp
Class GP4InputStream
java.lang.Object
java.io.InputStream
org.herac.tuxguitar.io.gp.GP4InputStream
- All Implemented Interfaces:
- java.io.Closeable
public class GP4InputStream
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GP4InputStream
public GP4InputStream(java.io.InputStream inputStream)
GP4InputStream
public GP4InputStream(java.lang.String fileName)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
isSupportedVersion
public static boolean isSupportedVersion(java.lang.String version)
isSupportedVersion
public boolean isSupportedVersion()
readSong
public Song readSong()
throws java.io.IOException,
GPFormatException
- Throws:
java.io.IOException
GPFormatException
readTremoloPicking
public void readTremoloPicking(NoteEffect effect)
throws java.io.IOException
- Throws:
java.io.IOException