net.sourceforge.neurosdbm.db.track.asf
Class ASFObject
java.lang.Object
net.sourceforge.neurosdbm.db.track.asf.ASFObject
- Direct Known Subclasses:
- ASF_Codec_List_Object, ASF_Content_Description_Object, ASF_Extended_Content_Description_Object, ASF_File_Properties_Object, ASF_Header_Extension_Object, ASF_Header_Object, ASF_Stream_Bitrate_Properties_Object, ASF_Stream_Properties_Object
- public class ASFObject
- extends java.lang.Object
Field Summary |
private java.lang.String |
guid
|
private long |
size
|
Constructor Summary |
protected |
ASFObject(java.lang.String guid,
java.nio.channels.FileChannel fc)
|
Method Summary |
private static java.lang.String |
byteToHex(byte b)
|
protected byte[] |
getBytes(java.nio.channels.FileChannel fc,
int length)
|
protected long |
getDWORD(java.nio.channels.FileChannel fc)
|
java.lang.String |
getGUID()
|
static java.lang.String |
getGUID(java.nio.channels.FileChannel fc)
|
protected long |
getQWORD(java.nio.channels.FileChannel fc)
|
long |
getSize()
|
protected java.lang.String |
getString(java.nio.channels.FileChannel fc,
int length)
|
protected int |
getWORD(java.nio.channels.FileChannel fc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
guid
private java.lang.String guid
size
private long size
ASFObject
protected ASFObject(java.lang.String guid,
java.nio.channels.FileChannel fc)
throws java.io.IOException
getGUID
public java.lang.String getGUID()
getSize
public long getSize()
getQWORD
protected long getQWORD(java.nio.channels.FileChannel fc)
throws java.io.IOException
- Throws:
java.io.IOException
getDWORD
protected long getDWORD(java.nio.channels.FileChannel fc)
throws java.io.IOException
- Throws:
java.io.IOException
getWORD
protected int getWORD(java.nio.channels.FileChannel fc)
throws java.io.IOException
- Throws:
java.io.IOException
getString
protected java.lang.String getString(java.nio.channels.FileChannel fc,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
getBytes
protected byte[] getBytes(java.nio.channels.FileChannel fc,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
getGUID
public static java.lang.String getGUID(java.nio.channels.FileChannel fc)
throws java.io.IOException
- Throws:
java.io.IOException
byteToHex
private static java.lang.String byteToHex(byte b)
Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.