Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
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
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 38375👍, 0💬
Popular Posts:
XOM is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...
Commons DBCP provides Database Connection Pooling. JAR File Size and Download Location: File name: c...
What Is HttpComponents httpcore-4.4.6.jar? HttpComponents httpcore-4.4.6.jar is the JAR file for Apa...
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
What Is javaws.jar in JRE (Java Runtime Environment) 8? javaws.jar in JRE (Java Runtime Environment)...