|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.QTObject | +--quicktime.util.QTPointerRef | +--quicktime.std.movies.AtomData
This is a Read Only structure that is used to read the values that are stored in an atom of an AtomContainer. To store or alter these values you should use the appropriate methods in the AtomContainer class.
Fields inherited from interface quicktime.jdirect.QuickTimeLib |
JDirect_MacOSX, libraryInstance, name |
Method Summary | |
static AtomData |
fromVectorStream(Curve c,
VectorStream vectorStream,
int atomType)
This method is used to find the first atom of a specified type within a vector data stream and get its data. |
byte |
getByte(int offset)
Get the byte value at the given position(offset) within the native object. |
byte[] |
getBytes(int offset,
int length)
Returns the byte values at the given position(offset) within the object's memory area. |
java.lang.String |
getCString(int offset)
Returns the C string found at the offset as a java.lang.String |
double |
getDouble(int offset)
Get the double value at the given position(offset) within the native object. |
float |
getFloat(int offset)
Get the float value at the given position(offset) within the native object. |
int |
getInt(int offset)
Get the int value at the given position(offset) within the native object. |
long |
getLong(int offset)
Get the long value at the given position(offset) within the native object. |
java.lang.String |
getPString(int offset)
Returns the Pascal string found at the offset as a java.lang.String |
short |
getShort(int offset)
Get the short value at the given position(offset) within the native object. |
Methods inherited from class quicktime.util.QTPointerRef |
copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyFromArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, copyToArray, getBytes, getSize, toString |
Methods inherited from class quicktime.QTObject |
disposeQTObject, equals, ID |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static AtomData fromVectorStream(Curve c, VectorStream vectorStream, int atomType) throws StdQTException
vectorStream
- Contains a handle to the vector data stream from which to get the atom.atomType
- Specifies the type of atom to find.public byte getByte(int offset) throws java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to offsetjava.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the datapublic short getShort(int offset) throws java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to offsetjava.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the datapublic int getInt(int offset) throws java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to offsetjava.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the datapublic long getLong(int offset) throws java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to offsetjava.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the datapublic float getFloat(int offset) throws java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to offsetjava.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the datapublic double getDouble(int offset) throws java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to offsetjava.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the datapublic java.lang.String getCString(int offset) throws UtilException, java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to offsetjava.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the datapublic java.lang.String getPString(int offset) throws UtilException, java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to offsetjava.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the datapublic byte[] getBytes(int offset, int length) throws java.lang.IndexOutOfBoundsException
offset
- the given number of bytes to locate the struct.length
- the given number of bytes of memory. The maximum length that will be copied is
(size - offset) bytes. If zero then this will return all of the available bytes from the offset.java.lang.IndexOutOfBoundsException
- is thrown if the offset is larger than the size of the data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |