湖南网站建设oqiandu,站长之家域名ip查询,开发者选项在哪小米,建站公司前景javap –verbose class名 查看class文件的具体内容javap -c class名继续看io类接口 java.io.Closeable功能#xff1a;关闭流和相应的资源java.io.console功能#xff1a;使用字节控制台#xff0c;与当前的java virtual machine 相关java.io.DataInput功能#xff1a;从二…javap –verbose class名 查看class文件的具体内容javap -c class名继续看io类接口 java.io.Closeable功能关闭流和相应的资源java.io.console功能使用字节控制台与当前的java virtual machine 相关java.io.DataInput功能从二进制流中读取字节java.io.DataInputStream功能从一个输入流中读取原始java数据类型。public class DataInputStream extends FilterInputStream implements DataInputjava.io.DataOutput功能任何java原始类型的数据转化为字节将这些字节写到字节流流中java.io.DataOutputStream功能将原始的java数据类型写入输出流中也可以用datainputstream将数据读回java.io.DeleteOnExitHook功能持有已经删除的文件集java.io.EOFException功能指示文件的结尾或已到达流文件的结尾。java.io.ExpiringCache功能清除过期的实体对象static class Entry {private long timestamp;private String val;Entry(long timestamp, String val) {this.timestamp timestamp;this.val val;}long timestamp() { return timestamp; }void setTimestamp(long timestamp) { this.timestamp timestamp; }String val() { return val; }void setVal(String val) { this.val val; }}java.io.Externalizable功能只有实现了这个接口的实例才会写入序列化的流中负责保存这个实例的内容。java.io.File功能代表抽象的文件和目录路径名By default the classes in thejava.io package always resolve relative pathnames against thecurrent user directory. This directory is named by the system propertyuser.dir, and is typically the directory in which the Javavirtual machine was invoked.static private FileSystem fs FileSystem.getFileSystem();file.separatorOn UNIX systems the value of thisfield is /;on Microsoft Windows systems it is \\.public static final char separatorChar fs.getSeparator();This character is used toseparate filenames in a sequence of files given as a path list.On UNIX systems, this character is :; on Microsoft Windows systems it is ;.public static final char pathSeparatorChar fs.getPathSeparator();public File(URI uri) {// Check our many preconditionsif (!uri.isAbsolute())throw new IllegalArgumentException(URI is not absolute);if (uri.isOpaque())throw new IllegalArgumentException(URI is not hierarchical);String scheme uri.getScheme();if ((scheme null) || !scheme.equalsIgnoreCase(file))throw new IllegalArgumentException(URI scheme is not \file\);if (uri.getAuthority() ! null)throw new IllegalArgumentException(URI has an authority component);if (uri.getFragment() ! null)throw new IllegalArgumentException(URI has a fragment component);if (uri.getQuery() ! null)throw new IllegalArgumentException(URI has a query component);String p uri.getPath();if (p.equals())throw new IllegalArgumentException(URI path component is empty);// Okay, now initializep fs.fromURIPath(p);if (File.separatorChar ! /)p p.replace(/, File.separatorChar);this.path fs.normalize(p);this.prefixLength fs.prefixLength(this.path);}