Method Stage 1 Language Basics + Advanced _1-3-Java language classes and senior _06-File IO streams _01 File class _6_File class to determine the function of



exists


It represents a true path exists


path does not exist in the

absence of false return path

file determines the relative path

'

relative path does not exist


isDirectory and isFile

 
Path did not exist


before using this method to determine what the best path is there


f2 test

at the end is the end of the output folder to folder true

to the end of the file

 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11263803.html