net.sf.opensmus
Class LMedia

java.lang.Object
  extended by net.sf.opensmus.LValue
      extended by net.sf.opensmus.LMedia
Direct Known Subclasses:
LPicture

public class LMedia
extends LValue

Class representing a Lingo compatible media value (LMedia for short). Lingo is a trademark of Adobe, Inc. All rights reserved.


Field Summary
 
Fields inherited from class net.sf.opensmus.LValue
valueType, vt_3dTransform, vt_3dVector, vt_Color, vt_Date, vt_Float, vt_Integer, vt_List, vt_Media, vt_Picture, vt_Point, vt_PropList, vt_Rect, vt_String, vt_Symbol, vt_Void
 
Constructor Summary
LMedia()
          Constructor
LMedia(byte[] initbytes)
          Constructor
 
Method Summary
 void dump()
          Reserved for internal use of OpenSMUS.
 int extractFromBytes(byte[] rawBytes, int offset)
          Reserved for internal use of OpenSMUS.
 byte[] getBytes()
          Reserved for internal use of OpenSMUS.
 byte[] toBytes()
          Returns the byte array storing the media data in binary format
 
Methods inherited from class net.sf.opensmus.LValue
fromRawBytes, getLValue, getLValue, getLValue, getLValue, getLValue, getType, setType, toDouble, toInteger, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LMedia

public LMedia(byte[] initbytes)
Constructor


LMedia

public LMedia()
Constructor

Method Detail

extractFromBytes

public int extractFromBytes(byte[] rawBytes,
                            int offset)
Reserved for internal use of OpenSMUS.

Overrides:
extractFromBytes in class LValue

toBytes

public byte[] toBytes()
Returns the byte array storing the media data in binary format

Overrides:
toBytes in class LValue

getBytes

public byte[] getBytes()
Reserved for internal use of OpenSMUS.

Overrides:
getBytes in class LValue

dump

public void dump()
Reserved for internal use of OpenSMUS.

Overrides:
dump in class LValue