Package quicktime.vr

Source Code of quicktime.vr.QTVRAtom

/*    */ package quicktime.vr;
/*    */
/*    */ import java.io.IOException;
/*    */ import java.io.ObjectInputStream;
/*    */ import java.io.ObjectOutputStream;
/*    */ import quicktime.QTException;
/*    */ import quicktime.QTSession;
/*    */ import quicktime.util.QTByteObject;
/*    */
/*    */ public abstract class QTVRAtom extends QTByteObject
/*    */   implements Cloneable
/*    */ {
/* 30 */   private static boolean apriori = QTSession.apriori();
/*    */
/*    */   protected QTVRAtom(int paramInt)
/*    */   {
/* 38 */     super(paramInt);
/* 39 */     setShortAt(0, (short)2);
/* 40 */     setShortAt(2, (short)0);
/*    */   }
/*    */
/*    */   protected QTVRAtom(byte[] paramArrayOfByte, int paramInt)
/*    */     throws QTException
/*    */   {
/* 48 */     super(paramArrayOfByte);
/* 49 */     if (paramArrayOfByte.length != paramInt) throw new QTException(-50);
/*    */   }
/*    */
/*    */   protected abstract int getNativeSize();
/*    */
/*    */   public short getMajorVersion()
/*    */   {
/* 60 */     return getShortAt(0);
/*    */   }
/*    */
/*    */   public void setMajorVersion(short paramShort)
/*    */   {
/* 65 */     setShortAt(0, paramShort);
/*    */   }
/*    */
/*    */   public short getMinorVersion()
/*    */   {
/* 70 */     return getShortAt(2);
/*    */   }
/*    */
/*    */   public void setMinorVersion(short paramShort)
/*    */   {
/* 75 */     setShortAt(2, paramShort);
/*    */   }
/*    */
/*    */   public String toString()
/*    */   {
/* 80 */     return getClass().getName();
/*    */   }
/*    */
/*    */   protected abstract void readObject(ObjectInputStream paramObjectInputStream)
/*    */     throws IOException;
/*    */
/*    */   protected abstract void writeObject(ObjectOutputStream paramObjectOutputStream)
/*    */     throws IOException;
/*    */
/*    */   public abstract Object clone();
/*    */ }

/* Location:           Z:\System\Library\Java\Extensions\QTJava.zip
* Qualified Name:     quicktime.vr.QTVRAtom
* JD-Core Version:    0.6.2
*/
TOP

Related Classes of quicktime.vr.QTVRAtom

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.