java.io.File Functionality |
java.nio.file Functionality |
Tutorial Coverage |
java.io.File |
java.nio.file.Path |
|
java.io.RandomAccessFile |
The SeekableByteChannel functionality. |
|
File.canRead, canWrite, canExecute |
Files.isReadable, Files.isWritable, and Files.isExecutable. On UNIX file systems, the Managing Metadata (File and File Store Attributes) package is used to check the nine file permissions. |
|
File.isDirectory(), File.isFile(), and File.length() |
Files.isDirectory(Path, LinkOption...), Files.isRegularFile(Path, LinkOption...), and Files.size(Path) |
|
File.lastModified() and File.setLastModified(long) |
Files.getLastModifiedTime(Path, LinkOption...) and Files.setLastMOdifiedTime(Path, FileTime) |
|
The File methods that set various attributes: setExecutable, setReadable, setReadOnly, setWritable |
These methods are replaced by the Files method setAttribute(Path, String, Object, LinkOption...). |
|
new File(parent, "newfile") |
parent.resolve("newfile") |
|
File.renameTo |
Files.move |
|
File.delete |
Files.delete |
|
File.createNewFile |
Files.createFile |
|
File.deleteOnExit |
Replaced by the DELETE_ON_CLOSE option specified in the createFile method. |
|
File.createTempFile |
Files.createTempFile(Path, String, FileAttributes<?>), Files.createTempFile(Path, String, String, FileAttributes<?>) |
|
File.exists |
Files.exists and Files.notExists |
|
File.compareTo and equals |
Path.compareTo and equals |
|
File.getAbsolutePath and getAbsoluteFile |
Path.toAbsolutePath |
|
File.getCanonicalPath and getCanonicalFile |
Path.toRealPath or normalize |
|
File.toURI |
Path.toURI |
|
File.isHidden |
Files.isHidden |
|
File.list and listFiles |
Path.newDirectoryStream |
|
File.mkdir and mkdirs |
Path.createDirectory |
|
File.listRoots |
FileSystem.getRootDirectories |
|
File.getTotalSpace, File.getFreeSpace, File.getUsableSpace |
FileStore.getTotalSpace, FileStore.getUnallocatedSpace, FileStore.getUsableSpace, FileStore.getTotalSpace |
相关推荐
赠送jar包:javase-2.2.jar; 赠送原API文档:javase-2.2-javadoc.jar; 赠送源代码:javase-2.2-sources.jar; 赠送Maven依赖信息文件:javase-2.2.pom; 包含翻译后的API文档:javase-2.2-javadoc-API文档-中文...
赠送jar包:javase-3.3.3.jar; 赠送原API文档:javase-3.3.3-javadoc.jar; 赠送源代码:javase-3.3.3-sources.jar; 赠送Maven依赖信息文件:javase-3.3.3.pom; 包含翻译后的API文档:javase-3.3.3-javadoc-API...
由于公司外网限制。需要的朋友可以搜索NetBeans-7.4-JavaSE-Windows。一起两个分卷。(仅Java)
谷歌二维码jar包(zxing-3.3.2 && zxing-core.2.1 && zxing-javase-2.1)
该资源提供两个iReport 生成二维码必须的包core javase,其中包含JDK1.7 版本 及JDK1.8版本
赠送jar包:javase-3.3.3.jar; 赠送原API文档:javase-3.3.3-javadoc.jar; 赠送源代码:javase-3.3.3-sources.jar; 赠送Maven依赖信息文件:javase-3.3.3.pom; 包含翻译后的API文档:javase-3.3.3-javadoc-API...
netbeans-6.9.1-ml-javase-windows 第一个包,分三个包
一维码二维码所需资源jar包,包含javase-3.2.1.jar 和 zxing-core-3.2.1.jar
赠送jar包:javase-2.2.jar; 赠送原API文档:javase-2.2-javadoc.jar; 赠送源代码:javase-2.2-sources.jar; 赠送Maven依赖信息文件:javase-2.2.pom; 包含翻译后的API文档:javase-2.2-javadoc-API文档-中文...
Google 二维码生成识别 xzing javase-2.1 适用于jkd1.6
netbeans-7.3-javase-windows
netbeans-7.4-javase-windows 适用于javase 可以开发基于windows系统的企业级的窗口程序软件 比如ERP CRM 使用技术 Swing 使用于企业级的图形化窗口程序 类似.NET的winform
JavaSE--思维导图解析
zxing2.2版本jar包,分别是core-2.2.jar和javase-2.2.jar,java生成二维码的两个jar,core为二维码生成包,javase为java文件什么的工具类包。支持jdk 1.6 亲身测试
netbeans-7.4-javase-windows
谷歌二维码生成工具包,MatrixToImageWriter.writeToPath()方法,2的版本木有
谷歌二维码生成工具包,MatrixToImageWriter.writeToPath()方法,2的版本木有
使用java在服务端进行aes的加密解密,前端使用该js进行aes加密解密;
JavaSE--API.md
JavaSE-06多线程 JavaSE-06多线程 JavaSE-06多线程 JavaSE-06多线程