| 25 | /// A data output stream lets an application write primitive Java data types to an output stream in a portable way. An application can then use a data input stream to read the data back in. |
| 26 | /// Since: JDK1.0, CLDC 1.0 See Also:DataInputStream |
| 27 | public class DataOutputStream extends java.io.OutputStream implements java.io.DataOutput{ |
| 28 | /// The output stream. |
| 29 | protected java.io.OutputStream out; |
| 30 | |
| 31 | /// Creates a new data output stream to write data to the specified underlying output stream. |
| 32 | /// out - the underlying output stream, to be saved for later use. |
| 33 | public DataOutputStream(java.io.OutputStream out){ |
| 34 | //TODO codavaj!! |
| 35 | } |
| 36 | |
| 37 | /// Closes this output stream and releases any system resources associated with the stream. |
| 38 | /// The close method calls its flush method, and then calls the close method of its underlying output stream. |
| 39 | public void close() throws java.io.IOException{ |
| 40 | return; //TODO codavaj!! |
| 41 | } |
| 42 | |
| 43 | /// Flushes this data output stream. This forces any buffered output bytes to be written out to the stream. |
| 44 | /// The flush method of DataOutputStream calls the flush method of its underlying output stream. |
| 45 | public void flush() throws java.io.IOException{ |
| 46 | return; //TODO codavaj!! |
| 47 | } |
| 48 | |
| 49 | /// Writes len bytes from the specified byte array starting at offset off to the underlying output stream. |
| 50 | public void write(byte[] b, int off, int len) throws java.io.IOException{ |
| 51 | return; //TODO codavaj!! |
| 52 | } |
| 53 | |
| 54 | /// Writes the specified byte (the low eight bits of the argument b) to the underlying output stream. |
| 55 | /// Implements the write method of OutputStream. |
| 56 | public void write(int b) throws java.io.IOException{ |
| 57 | return; //TODO codavaj!! |
| 58 | } |
| 59 | |
| 60 | /// Writes a boolean to the underlying output stream as a 1-byte value. The value true is written out as the value (byte)1; the value false is written out as the value (byte)0. |
| 61 | public final void writeBoolean(boolean v) throws java.io.IOException{ |
| 62 | return; //TODO codavaj!! |
| 63 | } |
| 64 | |
| 65 | /// Writes out a byte to the underlying output stream as a 1-byte value. |
| 66 | public final void writeByte(int v) throws java.io.IOException{ |
| 67 | return; //TODO codavaj!! |
| 68 | } |
| 69 | |
| 70 | /// Writes a char to the underlying output stream as a 2-byte value, high byte first. |
| 71 | public final void writeChar(int v) throws java.io.IOException{ |
| 72 | return; //TODO codavaj!! |
| 73 | } |
| 74 | |
| 75 | /// Writes a string to the underlying output stream as a sequence of characters. Each character is written to the data output stream as if by the writeChar method. |
| 76 | public final void writeChars(java.lang.String s) throws java.io.IOException{ |
| 77 | return; //TODO codavaj!! |
| 78 | } |
| 79 | |
| 80 | /// Converts the double argument to a long using the doubleToLongBits method in class Double, and then writes that long value to the underlying output stream as an 8-byte quantity, high byte first. |
| 81 | public final void writeDouble(double v) throws java.io.IOException{ |
| 82 | return; //TODO codavaj!! |
| 83 | } |
| 84 |
nothing calls this directly
no outgoing calls
no test coverage detected