1. 基本成员:
File.separator
public class File implements Serializable, Comparable<File> { private static final FileSystem fs = DefaultFileSystem.getFileSystem(); public static final String separator = "" + separatorChar; // 路径分割符,对于 Windows 平台自然是 `\` }