[ Web Proxy ]
URL:
Viewing: https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/io/InputStream.html [Back]  [Original]

InputStream (Java SE 24 & JDK 24)
Contents 
Hide sidebar ❮❯ Show sidebar
  1. Description
  2. Constructor Summary
  3. Method Summary
  4. Constructor Details
    1. InputStream()
  5. Method Details
    1. nullInputStream()
    2. read()
    3. read(byte[])
    4. read(byte[], int, int)
    5. readAllBytes()
    6. readNBytes(int)
    7. readNBytes(byte[], int, int)
    8. skip(long)
    9. skipNBytes(long)
    10. available()
    11. close()
    12. mark(int)
    13. reset()
    14. markSupported()
    15. transferTo(OutputStream)

Class InputStream

java.lang.Object
java.io.InputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
AudioInputStream, ByteArrayInputStream, FileInputStream, FilterInputStream, ObjectInputStream, PipedInputStream, SequenceInputStream, StringBufferInputStream

public abstract class InputStream extends Object implements Closeable
This abstract class is the superclass of all classes representing an input stream of bytes.

Applications that need to define a subclass of InputStream must always provide a method that returns the next byte of input.

Since:
1.0
See Also:


Web Proxy Viewer  |  New URL  |  Original Page