|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javazoom.jl.converter.RiffFile
public class RiffFile
Class to manage RIFF files
Field Summary | |
---|---|
static int |
DDC_FAILURE
|
static int |
DDC_FILE_ERROR
|
static int |
DDC_INVALID_CALL
|
static int |
DDC_INVALID_FILE
|
static int |
DDC_OUT_OF_MEMORY
|
static int |
DDC_SUCCESS
|
static int |
DDC_USER_ABORT
|
protected java.io.RandomAccessFile |
file
|
protected int |
fmode
|
static int |
RFM_READ
|
static int |
RFM_UNKNOWN
|
static int |
RFM_WRITE
|
Constructor Summary | |
---|---|
RiffFile()
Dummy Constructor |
Method Summary | |
---|---|
int |
Backpatch(long FileOffset,
byte[] Data,
int NumBytes)
|
int |
Backpatch(long FileOffset,
javazoom.jl.converter.RiffFile.RiffChunkHeader Data,
int NumBytes)
Write Data to specified offset. |
int |
Close()
Close Riff File. |
int |
CurrentFileMode()
Return File Mode. |
long |
CurrentFilePosition()
Return File Position. |
int |
Expect(java.lang.String Data,
int NumBytes)
Expect NumBytes data. |
static int |
FourCC(java.lang.String ChunkName)
Fill the header. |
int |
Open(java.lang.String Filename,
int NewMode)
Open a RIFF file. |
int |
Read(byte[] Data,
int NumBytes)
Read NumBytes data. |
protected int |
Seek(long offset)
Seek in the File. |
int |
Write(byte[] Data,
int NumBytes)
Write NumBytes data. |
int |
Write(int Data,
int NumBytes)
Write NumBytes data. |
int |
Write(javazoom.jl.converter.RiffFile.RiffChunkHeader Triff_header,
int NumBytes)
Write NumBytes data. |
int |
Write(short[] Data,
int NumBytes)
Write NumBytes data. |
int |
Write(short Data,
int NumBytes)
Write NumBytes data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DDC_SUCCESS
public static final int DDC_FAILURE
public static final int DDC_OUT_OF_MEMORY
public static final int DDC_FILE_ERROR
public static final int DDC_INVALID_CALL
public static final int DDC_USER_ABORT
public static final int DDC_INVALID_FILE
public static final int RFM_UNKNOWN
public static final int RFM_WRITE
public static final int RFM_READ
protected int fmode
protected java.io.RandomAccessFile file
Constructor Detail |
---|
public RiffFile()
Method Detail |
---|
public int CurrentFileMode()
public int Open(java.lang.String Filename, int NewMode)
public int Write(byte[] Data, int NumBytes)
public int Write(short[] Data, int NumBytes)
public int Write(javazoom.jl.converter.RiffFile.RiffChunkHeader Triff_header, int NumBytes)
public int Write(short Data, int NumBytes)
public int Write(int Data, int NumBytes)
public int Read(byte[] Data, int NumBytes)
public int Expect(java.lang.String Data, int NumBytes)
public int Close()
public long CurrentFilePosition()
public int Backpatch(long FileOffset, javazoom.jl.converter.RiffFile.RiffChunkHeader Data, int NumBytes)
public int Backpatch(long FileOffset, byte[] Data, int NumBytes)
protected int Seek(long offset)
public static int FourCC(java.lang.String ChunkName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |