Examples of readObject()


Examples of com.sun.j3d.utils.scenegraph.io.state.com.sun.j3d.utils.universe.SimpleUniverseState.readObject()

/* 461 */     if (universeClass.equals("null"))
/* 462 */       return null;
/* 463 */     if ((universeClass.equals("com.sun.j3d.utils.universe.SimpleUniverse")) || (universeClass.equals("com.sun.j3d.utils.universe.ConfiguredUniverse")))
/*     */     {
/* 465 */       SimpleUniverseState state = new SimpleUniverseState(this);
/* 466 */       state.readObject(in, canvas);
/*     */
/* 468 */       if (attachBranchGraphs) {
/* 469 */         int[] graphs = state.getAllGraphIDs();
/* 470 */         readBranchGraphs(graphs);
/*     */
View Full Code Here

Examples of com.sun.j3d.utils.scenegraph.io.state.javax.media.j3d.SceneGraphObjectState.readObject()

/*     */     }
/*     */     else {
/* 337 */       state = createCoreState(classID);
/*     */     }
/*     */
/* 340 */     state.readObject(in);
/*     */
/* 342 */     return state;
/*     */   }
/*     */
/*     */   public void setClassLoader(ClassLoader classLoader)
View Full Code Here

Examples of com.sun.jini.test.spec.io.util.FakeMarshalInputStream.readObject()

                bios,readAnnotationException,null);

            // verify result

            try {
                System.out.println("readObject: " + input.readObject());
                throw new AssertionError("readObject() call should fail");
            } catch (Throwable caught) {
                assertion(readAnnotationException.equals(caught),
                    caught.toString());
            }
View Full Code Here

Examples of com.sun.messaging.jmq.io.MQObjectInputStream.readObject()

                // Use our version of ObjectInputStream so we can load old
                // serialized object from an old store, i.e. store migration
                ObjectInputStream ois = new MQObjectInputStream(bais);
        try {
        key = ois.readObject();
        } catch (Throwable e) {
        if (e instanceof ClassNotFoundException) {
      throw (ClassNotFoundException)e;
        } else {
      kex = e;
View Full Code Here

Examples of com.sun.star.io.XObjectInputStream.readObject()

        // This XPersistObject has a property called 'String'
        propObjWrite.setPropertyValue("String", "XObjectOutputStream");

        log.println("Writing object with label 'XObjectOutputStream'");
        oObj.writeObject(objWrite);
        XPersistObject readObj = oInStream.readObject();
        XPropertySet propSet = (XPropertySet)
            UnoRuntime.queryInterface(XPropertySet.class, readObj);
        String label = (String)propSet.getPropertyValue("String");
        log.println("Object with label '" + label + "' was read");
View Full Code Here

Examples of com.sun.star.lib.uno.environments.remote.IUnmarshal.readObject()

      Object op1 = data[i];
      iMarshal.writeObject(dataTypes[i], data[i]);

      IUnmarshal iUnmarshal = iProtocol.createUnmarshal(iMarshal.reset());

      Object op2 = iUnmarshal.readObject(dataTypes[i]);

      if(op1 instanceof Any)
        op1 = ((Any)op1).getObject();

      boolean tmp_passed = compareObjects(op1, op2);
View Full Code Here

Examples of com.tangosol.io.pof.PofBufferReader.readObject()

  }

  public Object deserialize(BufferInput in) throws IOException {
    PofBufferReader reader = new PofBufferReader(in, this);
    try {
      return reader.readObject(-1);
    } catch (RuntimeException e) {
      IOException ioex = new IOException(e.getMessage());
      ioex.initCause(e);
      throw ioex;
    }
View Full Code Here

Examples of com.threerings.io.ObjectInputStream.readObject()

        {
            ObjectInputStream ostream = new ObjectInputStream(new ByteArrayInputStream(config));
            TourneyConfig tconfig = null;

            try {
                tconfig = (TourneyConfig)ostream.readObject();

            } catch (Exception e) {
                log.warning("Error reading TourneyConfig from byte array [e=" + e + "].");
            }
            return tconfig;
View Full Code Here

Examples of com.wutka.jox.JOXBeanInputStream.readObject()

       
        //ByteArrayInputStream xmlData = new ByteArrayInputStream(xml.getBytes());
        JOXBeanInputStream joxIn = new MyJOXBeanInputStream(fileIn);
       
        try {
            return (Object) joxIn.readObject(className);
            /*
            TestBean testBean = (TestBean) joxIn.readObject(
                TestBean.class);*/
           
        } catch (IOException exc) {
View Full Code Here

Examples of com.wutka.jox.MyJOXBeanInputStream.readObject()

       
        //ByteArrayInputStream xmlData = new ByteArrayInputStream(xml.getBytes());
        JOXBeanInputStream joxIn = new MyJOXBeanInputStream(fileIn);
       
        try {
            return (Object) joxIn.readObject(className);
            /*
            TestBean testBean = (TestBean) joxIn.readObject(
                TestBean.class);*/
           
        } catch (IOException exc) {
View Full Code Here
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.