final String stats = "Given path: %s"
+ "\nNormalized path: %s"
+ "\nAbsolute path: %s"
+ "\nParent: %s"
+ "\nName: %s"
+ "\nType: %s"
+ "\nSize: %s"
+ "\nHidden: %s
基本上,我试图查找有关文件的大量信息,然后将其放入此字符串中,但我不太了解%s的工作方式,如何获得所需的内容?