KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > orbutil > IIOPInputStream_1_3_1


1 /*
2  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 /*
7  * @(#)IIOPInputStream_1_3_1.java 1.5 03/12/19
8  */

9 package com.sun.corba.se.impl.orbutil;
10
11 import java.io.*;
12 import java.util.Hashtable JavaDoc;
13
14 /**
15  * Implements legacy behavior from Ladybird to maintain
16  * backwards compatibility.
17  */

18 public class IIOPInputStream_1_3_1 extends com.sun.corba.se.impl.io.IIOPInputStream
19 {
20     public IIOPInputStream_1_3_1()
21         throws java.io.IOException JavaDoc {
22         super();
23     }
24
25     /**
26      * Before JDK 1.3.1_01, the PutField/GetField implementation
27      * actually sent a Hashtable.
28      */

29     public ObjectInputStream.GetField readFields()
30         throws IOException, ClassNotFoundException JavaDoc, NotActiveException {
31
32     Hashtable JavaDoc fields = (Hashtable JavaDoc)readObject();
33     return new LegacyHookGetFields(fields);
34     }
35 }
36
Popular Tags