Schedule-Creator

Java GUI to create schedules for UNCG students
git clone git://git.wrycode.com/wrycode/archive/Schedule-Creator.git
Log | Files | Refs | README

commit 54f1071e31ac9459e00f3d1ec2be4edebc435114
parent 61363e7c2bbe92f321163b5990d9e49fcbe978bd
Author: Ilyass Sfar <42755577+cloud0x9@users.noreply.github.com>
Date:   Wed,  5 Feb 2020 19:45:33 -0500

Delete SaveData.java
Diffstat:
Dsrc/SchedueData/SaveData.java | 44--------------------------------------------
1 file changed, 0 insertions(+), 44 deletions(-)

diff --git a/src/SchedueData/SaveData.java b/src/SchedueData/SaveData.java @@ -1,43 +0,0 @@ -package SchedueData; -//creates a text file and writes the results from the original web search - -import java.io.*; - - -public class SaveData { - - static FileWriter WriteFile(String Name, int Sem, int Dep){ - - // Create new file, write all results into the file - try{ - String content = SchedueData.GetData.GetDataMethod(Sem, Dep); - String path = Name; - File file = new File(path); - - // If file doesn't exists, then create it - if (!file.exists()) { - file.createNewFile(); - } - FileWriter FileW = new FileWriter(file.getAbsoluteFile()); - BufferedWriter BufferW = new BufferedWriter(FileW); - - // Write in file - BufferW.write(content); - - // Close connection - BufferW.close(); - - return FileW; - - } - //Exception filler - catch(Exception X){ - System.out.println(X); - } - - - return null; - - } - -}- \ No newline at end of file