java.nio.file在哪里 [英] Where is java.nio.file
本文介绍了java.nio.file在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在阅读java文档,告诉我应该有一个java.nio.file命名空间。但是当我尝试导入它时,预编译器抱怨它不存在。
I am reading java documentation that tells me there should be a java.nio.file namespace. But when I attempt to import it the precompiler is complaining that it doesn't exist.
什么事?
推荐答案
java.nio.file
将在Java 7中出现。它不在Java 6或之前。
java.nio.file
is coming in Java 7. It's not in Java 6 or before.
您必须阅读 JDK7文档。
在此之前,你会遇到一堆令人不快的热情,那就是 java.io.File 。
Until then, you're stuck with the steaming heap of unpleasantness that is java.io.File.
这篇关于java.nio.file在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文