public class RIFFWriter
extends java.io.OutputStream
Constructor and Description |
---|
RIFFWriter(java.io.File file,
java.lang.String format) |
RIFFWriter(java.io.OutputStream stream,
java.lang.String format) |
RIFFWriter(java.lang.String name,
java.lang.String format) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getFilePointer() |
boolean |
getWriteOverride() |
void |
seek(long pos) |
void |
setWriteOverride(boolean writeoverride) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeByte(int b) |
RIFFWriter |
writeChunk(java.lang.String format) |
void |
writeInt(int b) |
RIFFWriter |
writeList(java.lang.String format) |
void |
writeLong(long b) |
void |
writeShort(short b) |
void |
writeString(java.lang.String string) |
void |
writeString(java.lang.String string,
int len) |
void |
writeUnsignedByte(int b) |
void |
writeUnsignedInt(long b) |
void |
writeUnsignedShort(int b) |
public RIFFWriter(java.lang.String name, java.lang.String format) throws java.io.IOException
java.io.IOException
public RIFFWriter(java.io.File file, java.lang.String format) throws java.io.IOException
java.io.IOException
public RIFFWriter(java.io.OutputStream stream, java.lang.String format) throws java.io.IOException
java.io.IOException
public void seek(long pos) throws java.io.IOException
java.io.IOException
public long getFilePointer() throws java.io.IOException
java.io.IOException
public void setWriteOverride(boolean writeoverride)
public boolean getWriteOverride()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public RIFFWriter writeList(java.lang.String format) throws java.io.IOException
java.io.IOException
public RIFFWriter writeChunk(java.lang.String format) throws java.io.IOException
java.io.IOException
public void writeString(java.lang.String string) throws java.io.IOException
java.io.IOException
public void writeString(java.lang.String string, int len) throws java.io.IOException
java.io.IOException
public void writeByte(int b) throws java.io.IOException
java.io.IOException
public void writeShort(short b) throws java.io.IOException
java.io.IOException
public void writeInt(int b) throws java.io.IOException
java.io.IOException
public void writeLong(long b) throws java.io.IOException
java.io.IOException
public void writeUnsignedByte(int b) throws java.io.IOException
java.io.IOException
public void writeUnsignedShort(int b) throws java.io.IOException
java.io.IOException
public void writeUnsignedInt(long b) throws java.io.IOException
java.io.IOException