英文解释如下:
-
User interfaces and operating systems use system-dependent pathname strings to name files and directories. This class presents an abstract, system-independent view of hierarchical pathnames.
-
When an abstract pathname is converted into a pathname string, each name is separated from the next by a single copy of the default separator character.
-
When a pathname string is converted into an abstract pathname, the names within it may be separated by the default name-separator character or by any other name-separator character that is supported by the underlying system.
对应的翻译如下:
用户界面和操作系统使用系统相关的路径名字符串来命名文件和目录。这个类提供了层次路径名的抽象的、系统独立的视图。
在将抽象路径名转换为路径名字符串时,每个名称都由一个默认分隔符的副本与下一个名称分隔开。
当将路径名字符串转换为抽象路径名时,可以使用默认的名称分隔符或底层系统支持的任何其他名称分隔符分隔其中的名称。