org.herac.tuxguitar.io.gtp
Class GTPOutputStream
java.lang.Object
org.herac.tuxguitar.io.gtp.GTPFileFormat
org.herac.tuxguitar.io.gtp.GTPOutputStream
- Direct Known Subclasses:
- GP3OutputStream, GP4OutputStream, GP5OutputStream
public abstract class GTPOutputStream
- extends GTPFileFormat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GTPOutputStream
public GTPOutputStream(GTPSettings settings)
init
public void init(TGFactory factory,
java.io.OutputStream stream)
skipBytes
protected void skipBytes(int count)
throws java.io.IOException
- Throws:
java.io.IOException
writeByte
protected void writeByte(byte v)
throws java.io.IOException
- Throws:
java.io.IOException
writeUnsignedByte
protected void writeUnsignedByte(int v)
throws java.io.IOException
- Throws:
java.io.IOException
writeBytes
protected void writeBytes(byte[] v)
throws java.io.IOException
- Throws:
java.io.IOException
writeBoolean
protected void writeBoolean(boolean v)
throws java.io.IOException
- Throws:
java.io.IOException
writeInt
protected void writeInt(int v)
throws java.io.IOException
- Throws:
java.io.IOException
writeString
protected void writeString(byte[] bytes,
int maximumLength)
throws java.io.IOException
- Throws:
java.io.IOException
writeStringInteger
protected void writeStringInteger(java.lang.String string,
java.lang.String charset)
throws java.io.IOException
- Throws:
java.io.IOException
writeStringInteger
protected void writeStringInteger(java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
writeStringByte
protected void writeStringByte(java.lang.String string,
int size,
java.lang.String charset)
throws java.io.IOException
- Throws:
java.io.IOException
writeStringByte
protected void writeStringByte(java.lang.String string,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
writeStringByteSizeOfInteger
protected void writeStringByteSizeOfInteger(java.lang.String string,
java.lang.String charset)
throws java.io.IOException
- Throws:
java.io.IOException
writeStringByteSizeOfInteger
protected void writeStringByteSizeOfInteger(java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
close
protected void close()
throws java.io.IOException
- Throws:
java.io.IOException