001: package java.io;
002:
003: import gnu.classpath.Configuration;
004: import gnu.java.io.ObjectIdentityWrapper;
005:
006: import java.lang.reflect.Array;
007: import java.lang.reflect.Field;
008: import java.lang.reflect.InvocationTargetException;
009: import java.lang.reflect.Method;
010: import java.lang.reflect.Modifier;
011: import java.lang.reflect.Proxy;
012: import java.util.Arrays;
013: import java.util.Hashtable;
014: import java.util.Vector;
015:
016: public class ObjectInputStream extends InputStream implements
017: ObjectInput, ObjectStreamConstants {
018: public ObjectInputStream(InputStream in) throws IOException,
019: StreamCorruptedException {
020: }
021:
022: public final Object readObject() throws ClassNotFoundException,
023: IOException {
024: }
025:
026: private void checkTypeConsistency(String name,
027: ObjectStreamField[] fields1, ObjectStreamField[] fields2)
028: throws InvalidClassException {
029: }
030:
031: protected ObjectStreamClass readClassDescriptor()
032: throws ClassNotFoundException, IOException {
033: }
034:
035: public void defaultReadObject() throws ClassNotFoundException,
036: IOException, NotActiveException {
037: }
038:
039: public void registerValidation(ObjectInputValidation validator,
040: int priority) throws InvalidObjectException,
041: NotActiveException {
042: }
043:
044: protected Class resolveClass(ObjectStreamClass osc)
045: throws ClassNotFoundException, IOException {
046: }
047:
048: private ClassLoader currentLoader() {
049: }
050:
051: private ObjectStreamClass lookupClass(Class clazz) {
052: }
053:
054: private ObjectStreamClass[] inputGetObjectStreamClasses(Class clazz) {
055: }
056:
057: protected Object resolveObject(Object obj) throws IOException {
058: }
059:
060: protected Class resolveProxyClass(String[] intfs)
061: throws IOException, ClassNotFoundException {
062: }
063:
064: protected boolean enableResolveObject(boolean enable)
065: throws SecurityException {
066: }
067:
068: protected void readStreamHeader() throws IOException,
069: StreamCorruptedException {
070: }
071:
072: public int read() throws IOException {
073: }
074:
075: public int read(byte[] data, int offset, int length)
076: throws IOException {
077: }
078:
079: public int available() throws IOException {
080: }
081:
082: public void close() throws IOException {
083: }
084:
085: public boolean readBoolean() throws IOException {
086: }
087:
088: public byte readByte() throws IOException {
089: }
090:
091: public int readUnsignedByte() throws IOException {
092: }
093:
094: public short readShort() throws IOException {
095: }
096:
097: public int readUnsignedShort() throws IOException {
098: }
099:
100: public char readChar() throws IOException {
101: }
102:
103: public int readInt() throws IOException {
104: }
105:
106: public long readLong() throws IOException {
107: }
108:
109: public float readFloat() throws IOException {
110: }
111:
112: public double readDouble() throws IOException {
113: }
114:
115: public void readFully(byte data[]) throws IOException {
116: }
117:
118: public void readFully(byte data[], int offset, int size)
119: throws IOException {
120: }
121:
122: public int skipBytes(int len) throws IOException {
123: }
124:
125: public String readLine() throws IOException {
126: }
127:
128: public String readUTF() throws IOException {
129: }
130:
131: public static abstract class GetField {
132: public abstract ObjectStreamClass getObjectStreamClass();
133:
134: public abstract boolean defaulted(String name)
135: throws IOException, IllegalArgumentException;
136:
137: public abstract boolean get(String name, boolean defvalue)
138: throws IOException, IllegalArgumentException;
139:
140: public abstract char get(String name, char defvalue)
141: throws IOException, IllegalArgumentException;
142:
143: public abstract byte get(String name, byte defvalue)
144: throws IOException, IllegalArgumentException;
145:
146: public abstract short get(String name, short defvalue)
147: throws IOException, IllegalArgumentException;
148:
149: public abstract int get(String name, int defvalue)
150: throws IOException, IllegalArgumentException;
151:
152: public abstract long get(String name, long defvalue)
153: throws IOException, IllegalArgumentException;
154:
155: public abstract float get(String name, float defvalue)
156: throws IOException, IllegalArgumentException;
157:
158: public abstract double get(String name, double defvalue)
159: throws IOException, IllegalArgumentException;
160:
161: public abstract Object get(String name, Object defvalue)
162: throws IOException, IllegalArgumentException;
163: }
164:
165: public GetField readFields() throws IOException,
166: ClassNotFoundException, NotActiveException {
167: }
168:
169: protected ObjectInputStream() throws IOException, SecurityException {
170: }
171:
172: protected Object readObjectOverride()
173: throws ClassNotFoundException, IOException,
174: OptionalDataException {
175: }
176:
177: private int assignNewHandle(Object obj) {
178: }
179:
180: private Object processResolution(ObjectStreamClass osc, Object obj,
181: int handle) throws IOException {
182: }
183:
184: private void clearHandles() {
185: }
186:
187: private void readNextBlock() throws IOException {
188: }
189:
190: private void readNextBlock(byte marker) throws IOException {
191: }
192:
193: private void readArrayElements(Object array, Class clazz)
194: throws ClassNotFoundException, IOException {
195: }
196:
197: private void readFields(Object obj, ObjectStreamClass stream_osc)
198: throws ClassNotFoundException, IOException {
199: }
200:
201: private boolean setBlockDataMode(boolean on) {
202: }
203:
204: private Object newObject(Class real_class, Class constructor_class)
205: throws ClassNotFoundException {
206: }
207:
208: private void invokeValidators() throws InvalidObjectException {
209: }
210:
211: private static native ClassLoader currentClassLoader(
212: SecurityManager sm);
213:
214: private void callReadMethod(Method readObject, Class klass,
215: Object obj) throws ClassNotFoundException, IOException {
216: }
217:
218: private native Object allocateObject(Class clazz)
219: throws InstantiationException;
220:
221: private native void callConstructor(Class clazz, Object obj);
222:
223: private void dumpElement(String msg) {
224: }
225:
226: private void dumpElementln(String msg) {
227: }
228:
229: static {
230: }
231: }
232:
233: class ValidatorAndPriority implements Comparable {
234: int priority;
235: ObjectInputValidation validator;
236:
237: ValidatorAndPriority(ObjectInputValidation validator, int priority) {
238: }
239:
240: public int compareTo(Object o) {
241: }
242: }
|