Posted on 2009-03-17 16:32
leekiang 閱讀(249)
評論(0) 編輯 收藏 所屬分類:
io,tcp
File.separatorChar 返回一個字符,表示當前系統(tǒng)默認的文件名分隔符,在Windows中為"\",unix中為"/"。
File.separator 與前者相同,但將分隔符作為字符串類型返回。
pathSeparatorChar 返回一個字符,表示當前系統(tǒng)默認的路徑名分隔符,在Windows中為";",unix中為":"。
File.pathSeparator 與前者相同,但將分隔符作為字符串類型返回。