Java FileReader not finding files

后端 未结 2 825
星月不相逢
星月不相逢 2021-01-17 06:20

I decided to start a new question so it can strictly focus on the FileReader errors.

This is a method that takes in a file name, and a desired output name for a new

2条回答
  •  佛祖请我去吃肉
    2021-01-17 06:55

    Print out what current_directory is and confirm that it matches your expectations.

    I'd also print out the complete file path that you pass to the FileReader as well.

    Most times that behavior doesn't match my expectations, I find that my assumptions were wrong.

提交回复
热议问题