我正在寻找一些帮助我遇到的一个小问题.基本上我在我的应用程序中有一个"if&else"语句,但我想添加另一个"if"语句,检查文件,然后检查该文件中的某些文本行.但我不确定如何做到这一点.
这是我所拥有的
if(file.exists()) { do this } else { do this }
java android if-statement
android ×1
if-statement ×1
java ×1