SAPP Coding Java Text Editor Tutorial #2 | Creating the FileWriter class

preview_player
Показать описание
Hey guys! Welcome back to the Java Text Editor Tutorial series. In this part, we create the FileWriter class, which allows the user to interact with any file on the device given its path. In the next part, we will be implementing this class in the GUI that we made in part 1 to create the MVP (Minimum Viable Product) version of the application. Additionally, we included a part for Java 7 users, so if you use Java 7 or older you can follow along using the designated clips.

(Tip: If you are using Java 7, avoid naming your custom class "FileWriter" as it will cause issues if you try to use Java's FileWriter class).
Рекомендации по теме
Комментарии
Автор

Great video and I learned how to use and why to use string builder. Can't wait for part 3!

asrithsreeram
Автор

I like the Scanner usage for reading a file against the usual usage of System.in to take user input from keyboard.

SarabhaiahPolakam
welcome to shbcf.ru