Skip to content
murmot

Results for “java stringreader inputstream string example code python github repo script site:oracle.com”

  • docs.oracle.com

    Properties (Java SE 25 & JDK 25)

    The loadFromXML(InputStream) and storeToXML(OutputStream, String, String) methods load and store properties in a simple XML format.

  • docs.oracle.com

    StringReader (Java Platform SE 8 ) - Oracle

    Skips the specified number of characters in the stream. Returns the number of characters that were skipped. The ns parameter may be negative, even though the skip method of the Reader superclass throws an exception in this case. Negative values of ns cause the stream to skip backwards. Negative return values indicate a skip backwards. It is not possible to skip backwards past the beginning of ...

  • docs.oracle.com

    InputStreamReader (Java SE 17 & JDK 17)

    If this instance was created with the InputStreamReader(InputStream, String) constructor then the returned name, being unique for the encoding, may differ from the name passed to the constructor. This method will return null if the stream has been closed. Returns

  • docs.oracle.com

    InputStream (Java SE 17 & JDK 17)

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

  • docs.oracle.com

    ObjectInputStream (Java SE 21 & JDK 21)

    The method readObject is used to read an object from the stream. Java's safe casting should be used to get the desired type. In Java, strings and arrays are objects and are treated as objects during serialization. When read they need to be cast to the expected type.

  • docs.oracle.com

    StringReader (Java SE 17 & JDK 17) - Oracle

    Specified by: read in class Reader Parameters: cbuf - Destination buffer off - Offset at which to start storing characters len - Maximum number of characters to read Returns: The number of characters read, or -1 if the end of the stream has been reached Throws: IndexOutOfBoundsException - If off is negative, or len is negative, or len is greater than cbuf.length - off IOException - If an I/O ...

  • docs.oracle.com

    java.io (Java SE 27 & JDK 27)

    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support the mark and reset methods.The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.

  • docs.oracle.com

    StringReader (Java SE 16 & JDK 16) - docs.oracle.com

    Skips the specified number of characters in the stream. Returns the number of characters that were skipped. The ns parameter may be negative, even though the skip method of the Reader superclass throws an exception in this case. Negative values of ns cause the stream to skip backwards. Negative return values indicate a skip backwards. It is not possible to skip backwards past the beginning of ...