← 返回首页
java.io (Java SE 26 & JDK 26)
JavaScript is disabled on your browser.
Contents
  1. Description
    1. Object Serialization
  2. Classes and Interfaces
Hide sidebar  Show sidebar

Package java.io

package java.io
Provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown. A pathname string passed as a String argument to a constructor or method in any class or interface in this package will be interpreted as described in the class specification of File.

Object Serialization

Warning: Deserialization of untrusted data is inherently dangerous and should be avoided. Untrusted data should be carefully validated according to the "Serialization and Deserialization" section of the Secure Coding Guidelines for Java SE.

Since: 1.0 External Specifications

Scripting on this page tracks web page traffic, but does not change the content in any way.