dir is null 缺少文件夹路径
If you don't find a spelling error, check that the file really is where it's supposed to be by issuing a dir command like the one shown here.
如果没有发现拼写错误,请检查该文件是否处于它应该出现的位置,方法是按如下所示发出一个dir命令。
FileVisitResult preVisitDirectoryFailed(T dir, IOException exception) is called when a directory could not be visited for some reason.
当目录由于某些原因无法访问时,调用 FileVisitResult preVisitDirectoryFailed(T dir, IOException exception)。
Notice that the dir attribute is now listed first.
注意dir属性现在列在第一位。
So you can actually say, how do I know which methods are associated with the class? For that, we can call dir. And what it does, is it gives me back a listing of all the things, dir all the methods, that are associated with it.
我们开始建立类了,我们得到了这些方法,因此实际上你可以说,我怎么知道,哪些方法是关联与这些类的?,为了解决这个问题,我们可以调用,这个方法的作用。
应用推荐