誰もが複数の行を読み、その値を格納する方法を教えてもらえますか?ファイルのアップロードで複数の行を読む
例:撮影上のファイル、考えられる原因とアクションでfile.txtを
Probable Cause: The network operator has issued an alter attribute command for
the specified LCONF assign. The old value and the new value are show
Action Taken : The assign value is changed from the old value to the new
value. Receipt of this message does not guarantee that the new attribute
value was accepted by clients who use it. Additional messages may be.
Probable Cause: The network operator has issued an info attribute command for
the specified LCONF assign. The default value being used is displaye
Action Taken : None. Informational use only.
データベーステーブルの列です。そして、後で考えられる原因:それらは、考えられる原因列のためにデータベーステーブルに格納される値です。
どうすれば複数の行を読み込み、その値を保存できますか?私はAction Takenがラインに来るまで、考えられる原因の値を読み取る必要があります。私はBufferedReader
とreadLine()
メソッドを使用して、一度に1行を読み込みます。だから、どれくらいの線がそれらの間にあるかにかかわらず、考えられる原因から行動を直接読む方法を誰にでも教えてもらえます。