Package quicktime.std.movies.media

Examples of quicktime.std.movies.media.UserData


/*      */   }
/*      */
/*      */   public String getName()
/*      */     throws StdQTException
/*      */   {
/*  553 */     UserData localUserData = UserData.fromTrack(this);
/*      */     try {
/*  555 */       QTHandle localQTHandle = localUserData.getData(1851878757, 1);
/*  556 */       i = localQTHandle.getSize();
/*  557 */       byte[] arrayOfByte = new byte[i];
/*  558 */       localQTHandle.copyToArray(0, arrayOfByte, 0, i);
/*  559 */       return new String(arrayOfByte);
/*      */     } catch (QTException localQTException) {
View Full Code Here


/*      */   }
/*      */
/*      */   public void setName(String paramString)
/*      */     throws QTException
/*      */   {
/*  576 */     UserData localUserData = UserData.fromTrack(this);
/*  577 */     int i = 0;
/*  578 */     if (paramString != null) {
/*  579 */       i = paramString.length();
/*      */     }
/*  581 */     if (i == 0) {
/*      */       try {
/*  583 */         localUserData.removeData(1851878757, 1);
/*      */       } catch (StdQTException localStdQTException) {
/*  585 */         int j = localStdQTException.errorCode();
/*  586 */         if (j != -2026)
/*  587 */           throw new StdQTException(j);
/*      */       }
/*      */     }
/*      */     else
/*      */     {
/*  592 */       QTHandle localQTHandle = new QTHandle(i, false);
/*  593 */       localQTHandle.copyFromArray(0, paramString.getBytes(), 0, i);
/*  594 */       localUserData.setDataItem(localQTHandle.toQTPointer(), 1851878757, 1);
/*      */     }
/*      */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public UserData getMetaData(GraphicsImporter paramGraphicsImporter)
/*     */     throws QTException
/*     */   {
/* 592 */     UserData localUserData = new UserData();
/* 593 */     int i = GraphicsImportGetMetaData(QTObject.ID(paramGraphicsImporter), QTObject.ID(localUserData));
/* 594 */     StdQTException.checkError(i);
/* 595 */     return localUserData;
/*     */   }
View Full Code Here

TOP

Related Classes of quicktime.std.movies.media.UserData

Copyright © 2018 www.massapicom. 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.