001: package java.io;
002:
003: import java.lang.reflect.Array;
004: import java.lang.reflect.Field;
005: import java.lang.reflect.Method;
006: import java.lang.reflect.InvocationTargetException;
007: import java.security.PrivilegedAction;
008: import java.security.AccessController;
009: import java.util.Hashtable;
010:
011: import gnu.java.io.ObjectIdentityWrapper;
012: import gnu.java.lang.reflect.TypeSignature;
013: import gnu.java.security.action.SetAccessibleAction;
014: import gnu.classpath.Configuration;
015:
016: public class ObjectOutputStream extends OutputStream implements
017: ObjectOutput, ObjectStreamConstants {
018: public ObjectOutputStream(OutputStream out) throws IOException {
019: }
020:
021: public final void writeObject(Object obj) throws IOException {
022: }
023:
024: protected void writeClassDescriptor(ObjectStreamClass osc)
025: throws IOException {
026: }
027:
028: public void defaultWriteObject() throws IOException,
029: NotActiveException {
030: }
031:
032: private void markFieldsWritten() throws IOException {
033: }
034:
035: public void reset() throws IOException {
036: }
037:
038: private void reset(boolean internal) throws IOException {
039: }
040:
041: public void useProtocolVersion(int version) throws IOException {
042: }
043:
044: public static void setDefaultProtocolVersion(int version)
045: throws IOException {
046: }
047:
048: protected void annotateClass(Class cl) throws IOException {
049: }
050:
051: protected void annotateProxyClass(Class cl) throws IOException {
052: }
053:
054: protected Object replaceObject(Object obj) throws IOException {
055: }
056:
057: protected boolean enableReplaceObject(boolean enable)
058: throws SecurityException {
059: }
060:
061: protected void writeStreamHeader() throws IOException {
062: }
063:
064: protected ObjectOutputStream() throws IOException,
065: SecurityException {
066: }
067:
068: protected void writeObjectOverride(Object obj)
069: throws NotActiveException, IOException {
070: }
071:
072: public void write(int data) throws IOException {
073: }
074:
075: public void write(byte[] b) throws IOException {
076: }
077:
078: public void write(byte[] b, int off, int len) throws IOException {
079: }
080:
081: public void flush() throws IOException {
082: }
083:
084: protected void drain() throws IOException {
085: }
086:
087: public void close() throws IOException {
088: }
089:
090: public void writeBoolean(boolean data) throws IOException {
091: }
092:
093: public void writeByte(int data) throws IOException {
094: }
095:
096: public void writeShort(int data) throws IOException {
097: }
098:
099: public void writeChar(int data) throws IOException {
100: }
101:
102: public void writeInt(int data) throws IOException {
103: }
104:
105: public void writeLong(long data) throws IOException {
106: }
107:
108: public void writeFloat(float data) throws IOException {
109: }
110:
111: public void writeDouble(double data) throws IOException {
112: }
113:
114: public void writeBytes(String data) throws IOException {
115: }
116:
117: public void writeChars(String data) throws IOException {
118: }
119:
120: public void writeUTF(String data) throws IOException {
121: }
122:
123: public static abstract class PutField {
124: public abstract void put(String name, boolean value);
125:
126: public abstract void put(String name, byte value);
127:
128: public abstract void put(String name, char value);
129:
130: public abstract void put(String name, double value);
131:
132: public abstract void put(String name, float value);
133:
134: public abstract void put(String name, int value);
135:
136: public abstract void put(String name, long value);
137:
138: public abstract void put(String name, short value);
139:
140: public abstract void put(String name, Object value);
141:
142: public abstract void write(ObjectOutput out) throws IOException;
143: }
144:
145: public PutField putFields() throws IOException {
146: }
147:
148: public void writeFields() throws IOException {
149: }
150:
151: private void writeBlockDataHeader(int size) throws IOException {
152: }
153:
154: private Integer findHandle(Object obj) {
155: }
156:
157: private int assignNewHandle(Object obj) {
158: }
159:
160: private void clearHandles() {
161: }
162:
163: private void writeArraySizeAndElements(Object array, Class clazz)
164: throws IOException {
165: }
166:
167: private void writeFields(Object obj, ObjectStreamClass osc)
168: throws IOException {
169: }
170:
171: private boolean setBlockDataMode(boolean on) throws IOException {
172: }
173:
174: private void callWriteMethod(Object obj, ObjectStreamClass osc)
175: throws IOException {
176: }
177:
178: private boolean getBooleanField(Object obj, Class klass,
179: String field_name) throws IOException {
180: }
181:
182: private byte getByteField(Object obj, Class klass, String field_name)
183: throws IOException {
184: }
185:
186: private char getCharField(Object obj, Class klass, String field_name)
187: throws IOException {
188: }
189:
190: private double getDoubleField(Object obj, Class klass,
191: String field_name) throws IOException {
192: }
193:
194: private float getFloatField(Object obj, Class klass,
195: String field_name) throws IOException {
196: }
197:
198: private int getIntField(Object obj, Class klass, String field_name)
199: throws IOException {
200: }
201:
202: private long getLongField(Object obj, Class klass, String field_name)
203: throws IOException {
204: }
205:
206: private short getShortField(Object obj, Class klass,
207: String field_name) throws IOException {
208: }
209:
210: private Object getObjectField(Object obj, Class klass,
211: String field_name, String type_code) throws IOException {
212: }
213:
214: private Field getField(Class klass, String name)
215: throws java.io.InvalidClassException {
216: }
217:
218: private Method getMethod(Class klass, String name, Class[] args)
219: throws java.lang.NoSuchMethodException {
220: }
221:
222: private void dumpElementln(String msg) {
223: }
224:
225: static {
226: }
227: }
|