Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/io/DataInput.java
/* * @(#)DataInput.java 1.10 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.io; /** * The data input interface is implemented by streams that can read * primitive Java data types from a stream in a machine-independent * manner. * * @author Frank Yellin * @version 1.10, 12/10/01 * @see java.io.DataInputStream * @see java.io.DataOutput * @since JDK1.0 */ public interface DataInput { /** * Reads <code>b.length</code> bytes into the byte array. This * method blocks until all the bytes are read. * * @param b the buffer into which the data is read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ void readFully(byte b[]) throws IOException; /** * Reads <code>b.length</code> bytes into the byte array. This * method blocks until all the bytes are read. * * @param b the buffer into which the data is read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ void readFully(byte b[], int off, int len) throws IOException; /** * Skips exactly <code>n</code> bytes of input. * * @param n the number of bytes to be skipped. * @return the number of bytes skipped, which is always <code>n</code>. * @exception EOFException if this stream reaches the end before skipping * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ int skipBytes(int n) throws IOException; /** * Reads a <code>boolean</code> value from the input stream. * * @return the <code>boolean</code> value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ boolean readBoolean() throws IOException; /** * Reads a signed 8-bit value from the input stream. * * @return the 8-bit value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ byte readByte() throws IOException; /** * Reads an unsigned 8-bit value from the input stream. * * @return the unsigned 8-bit value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ int readUnsignedByte() throws IOException; /** * Reads a 16-bit value from the input stream. * * @return the 16-bit value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ short readShort() throws IOException; /** * Reads an unsigned 16-bit value from the input stream. * * @return the unsigned 16-bit value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ int readUnsignedShort() throws IOException; /** * Reads a Unicode <code>char</code> value from the input stream. * * @return the Unicode <code>char</code> read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ char readChar() throws IOException; /** * Reads an <code>int</code> value from the input stream. * * @return the <code>int</code> value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ int readInt() throws IOException; /** * Reads a <code>long</code> value from the input stream. * * @return the <code>long</code> value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ long readLong() throws IOException; /** * Reads a <code>float</code> value from the input stream. * * @return the <code>float</code> value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ float readFloat() throws IOException; /** * Reads a <code>double</code> value from the input stream. * * @return the <code>double</code> value read. * @exception EOFException if this stream reaches the end before reading * all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ double readDouble() throws IOException; /** * Reads the next line of text from the input stream. * * @return if this stream reaches the end before reading all the bytes. * @exception IOException if an I/O error occurs. * @since JDK1.0 */ String readLine() throws IOException; /** * Reads in a string that has been encoded using a modified UTF-8 format. * <p> * For an exact description of this method, see the discussion in * Gosling, Joy, and Steele, <i>The Java Language Specification</i>. * * @return a Unicode string. * @exception EOFException if this stream reaches the end * before reading all the bytes. * @exception IOException if an I/O error occurs. * @exception UTFDataFormatException if the bytes do not represent a * valid UTF-8 encoding of a string. * @since JDK1.0 */ String readUTF() throws IOException; }
⏎ java/io/DataInput.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 150662👍, 0💬
Popular Posts:
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module. JDK 11 Naming module compiled cla...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
io.jar is a component in iText Java library to provide input/output functionalities. iText Java libr...