什么不透明的内容究竟是什么意思? [英] What opaque content exactly mean?

查看:412
本文介绍了什么不透明的内容究竟是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<一个href=\"http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/BasicFileAttributes.html#isRegularFile%28%29\">Here我们的说明 isRegularFile() BasicFileAttributes 接口方式:

Here we have the description of isRegularFile() method of the BasicFileAttributes interface:

判断文件是否与不透明内容的常规文件。

Tells whether the file is a regular file with opaque content.

他们是怎么通过内容不透明的意思是,不可见的?如果是这样,岂不是透明的内容的文件不是一个普通的文件?
先谢谢了。

What do they mean by "opaque content", not visible? and if so, does it mean that a file with transparent content is not a regular file? Thanks in advance.

推荐答案

这意味着,在引擎盖下,该API没有努力寻找里面的文件,以确定它是否真的是一个普通文件。一个文件可以似乎是一个普通的文件,但实际上可能被加密,对于一些应用的虚拟文件系统,或任何数量的Java不知道其他的事情。 Java的仅依赖于目录条目或任何其他元数据它是由底层操作系统提供。

It means that under the hood, the API makes no effort to look inside the file to determine whether it really is a "regular file". A file can appear to be a regular file but might actually be encrypted, a virtual file system for some application, or any number of other things that Java doesn't know about. Java only relies on the directory entry or whatever other metadata about it is provided by the underlying operating system.

这篇关于什么不透明的内容究竟是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆