Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はクラスのために何かをしていて、ユーザーが nextLine() メソッドを介して入力した文字列を取得し、それを csv ファイルへのパスとして使用する方法を知る必要があります。
出力例は次のようになります。
Enter the name of the input file: /Users/user/file.csv
そして、それは java で csv を定義し、スキャナーインスタンスによって読み取られ、区切られます。