FileInputStream fileInputStrm = new FileInputStream( FILEPATH ); int characterData = 0; //データ読み込みと判定を行う while ( ( characterData = fileInputSteam.read() ) != -1 ){ //処理 }
//一見気がつきにくい if ( isChange = true ) { //すべてtrueになってしまう }