From 55f9f9ff7635cef71b5ee58aec7c1b4ceaffea49 Mon Sep 17 00:00:00 2001 From: damithc Date: Sun, 7 Jan 2024 18:33:52 +0800 Subject: [PATCH 01/32] docs/README.md: Tweak document template Let's tweak the docs/README.md (which is used as the user guide) to fit Duke better. Specifically, 1. mention product name in the title 2. mention adding a product screenshot and a product intro 3. tweak the flow to describe feature-by-feature --- docs/README.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/docs/README.md b/docs/README.md index 8077118ebe..47b9f984f7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,29 +1,30 @@ -# User Guide +# Duke User Guide -## Features +// Update the title above to match the actual product name -### Feature-ABC +// Product screenshot goes here -Description of the feature. +// Product intro goes here -### Feature-XYZ +## Adding deadlines -Description of the feature. +// Describe the action and its outcome. -## Usage +// Give examples of usage -### `Keyword` - Describe action +Example: `keyword (optional arguments)` -Describe the action and its outcome. +// A description of the expected outcome goes here -Example of usage: +``` +expected output +``` -`keyword (optional arguments)` +## Feature ABC -Expected outcome: +// Feature details -Description of the outcome. -``` -expected output -``` +## Feature XYZ + +// Feature details \ No newline at end of file From f837ddb7d2b77f6654758f93d056420a580787ca Mon Sep 17 00:00:00 2001 From: damithc Date: Mon, 25 May 2020 00:58:18 +0800 Subject: [PATCH 02/32] Add Gradle support --- build.gradle | 41 +++++ gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 58695 bytes gradle/wrapper/gradle-wrapper.properties | 5 + gradlew | 183 +++++++++++++++++++++++ gradlew.bat | 103 +++++++++++++ text-ui-test/runtest.sh | 0 6 files changed, 332 insertions(+) create mode 100644 build.gradle create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100755 gradlew create mode 100644 gradlew.bat mode change 100644 => 100755 text-ui-test/runtest.sh diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000000..885198fcfa --- /dev/null +++ b/build.gradle @@ -0,0 +1,41 @@ +plugins { + id 'java' + id 'application' + id 'com.github.johnrengelman.shadow' version '5.1.0' +} + +repositories { + mavenCentral() +} + +dependencies { + testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0' + testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0' +} + +test { + useJUnitPlatform() + + testLogging { + events "passed", "skipped", "failed" + + showExceptions true + exceptionFormat "full" + showCauses true + showStackTraces true + showStandardStreams = false + } +} + +application { + mainClassName = "seedu.duke.Duke" +} + +shadowJar { + archiveBaseName = "duke" + archiveClassifier = null +} + +run{ + standardInput = System.in +} diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..f3d88b1c2faf2fc91d853cd5d4242b5547257070 GIT binary patch literal 58695 zcma&OV~}Oh(k5J8>Mq;vvTfV8ZQE5{wr$(iDciPf+tV}m-if*I+;_h3N1nY;M6TF7 zBc7A_WUgl&IY|&uNFbnJzkq;%`2QLZ5b*!{1OkHidzBVe;-?mu5upVElKVGD>pC88 zzP}E3wRHBgaO?2nzdZ5pL;m-xf&RU>buj(E-s=DK zf%>P9se`_emGS@673tqyT^;o8?2H}$uO&&u^TlmHfPgSSfPiTK^AZ7DTPH`Szw4#- z&21E&^c|dx9f;^@46XDX9itS+ZRYuqx#wG*>5Bs&gxwSQbj8grds#xkl;ikls1%(2 zR-`Tn(#9}E_aQ!zu~_iyc0gXp2I`O?erY?=JK{M`Ew(*RP3vy^0=b2E0^PSZgm(P6 z+U<&w#)I=>0z=IC4 zh4Q;eq94OGttUh7AGWu7m){;^Qk*5F6eTn+Ky$x>9Ntl~n0KDzFmB0lBI6?o!({iX zQt=|-9TPjAmCP!eA{r|^71cIvI(1#UCSzPw(L2>8OG0O_RQeJ{{MG)tLQ*aSX{AMS zP-;|nj+9{J&c9UV5Ww|#OE*Ah6?9WaR?B04N|#`m0G-IqwdN~Z{8)!$@UsK>l9H81 z?z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~jBPx6sxmIEBnq)s-fHz_y0z8-gPl2Us4BiBXNR5CIF!YR@ zb9B305SilU*@4|+ x6JBtc8JSt5M0pkooaq!^FqtuD_KdXXTo>Mw54>`rP&>h&58!3a6l6r9{sG7g--!SK literal 0 HcmV?d00001 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000000..b7c8c5dbf5 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000000..2fe81a7d95 --- /dev/null +++ b/gradlew @@ -0,0 +1,183 @@ +#!/usr/bin/env sh + +# +# Copyright 2015 the original author or authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin or MSYS, switch paths to Windows format before running java +if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=`expr $i + 1` + done + case $i in + 0) set -- ;; + 1) set -- "$args0" ;; + 2) set -- "$args0" "$args1" ;; + 3) set -- "$args0" "$args1" "$args2" ;; + 4) set -- "$args0" "$args1" "$args2" "$args3" ;; + 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=`save "$@"` + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000000..62bd9b9cce --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,103 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/text-ui-test/runtest.sh b/text-ui-test/runtest.sh old mode 100644 new mode 100755 From a6f73244a20539e20c2189973ebf597df34ef631 Mon Sep 17 00:00:00 2001 From: lzq Date: Sat, 5 Aug 2023 15:24:02 +0800 Subject: [PATCH 03/32] Bump gradle and lib version --- build.gradle | 9 +- gradle/wrapper/gradle-wrapper.jar | Bin 58695 -> 63375 bytes gradle/wrapper/gradle-wrapper.properties | 4 +- gradlew | 281 ++++++++++++++--------- gradlew.bat | 195 ++++++++-------- 5 files changed, 273 insertions(+), 216 deletions(-) diff --git a/build.gradle b/build.gradle index 885198fcfa..a388517ae1 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' id 'application' - id 'com.github.johnrengelman.shadow' version '5.1.0' + id 'com.github.johnrengelman.shadow' version '7.1.2' } repositories { @@ -9,8 +9,8 @@ repositories { } dependencies { - testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0' - testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0' + testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0' + testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0' } test { @@ -28,12 +28,13 @@ test { } application { - mainClassName = "seedu.duke.Duke" + mainClass.set("seedu.duke.Duke") } shadowJar { archiveBaseName = "duke" archiveClassifier = null + dependsOn("distZip", "distTar") } run{ diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index f3d88b1c2faf2fc91d853cd5d4242b5547257070..033e24c4cdf41af1ab109bc7f253b2b887023340 100644 GIT binary patch delta 43723 zcmaI7V{oQX(=8m^wrv}eiEZ1qdB>U9wr$<9Z6_0JVjGj3IqzHNJ?E+V>ie^MSM9$3 zt?ph|ukNu)@c0{WNF`Zt2#mx6%tSnNP>e(-=YK~5`TssJ6E`sb%O*pB5@KM0fWW|j zfPjdAgrBZ?Qp16O7+@y{(y;^l@K*@G3>ZF+9!5lGRj_1ohMU+CV1tHXVdJjWp(v5k zl9xl1^e&?r$N`8(+AKjaDbc+qhs;fykK^g$c_Kx8ko)0kt zx>djoN)J}NVu{;d?{pyRRh6kxFK&IjU!gGD54a%PtF?}TcPkF$y_(HFusXWcnH*J} zp?8?lJzwt>gm+306uNc8`h79FH3vS_Y6d>kIrhNeger=Zn>xWgX?ae@w&}9&NHK{= zC6Cr5kCPIofW+tlTg8APw3o@hB~kJF-BBM-eNoW2&Y1cA)R+Pld#ZFgch;EP2kZfU z8fXGXV?%I4)WX8d$bAI|sD6!bhJ(d$M9CS3X$-JmaJ_Wt^_8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kb;v=L?j8mmqCw_8VDdF`X9waq16BY diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b7c8c5dbf5..66c01cfeba 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 2fe81a7d95..fcb6fca147 100755 --- a/gradlew +++ b/gradlew @@ -1,7 +1,7 @@ -#!/usr/bin/env sh +#!/bin/sh # -# Copyright 2015 the original author or authors. +# Copyright © 2015-2021 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,78 +17,110 @@ # ############################################################################## -## -## Gradle start up script for UN*X -## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# ############################################################################## # Attempt to set APP_HOME + # Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" +MAX_FD=maximum warn () { echo "$*" -} +} >&2 die () { echo echo "$*" echo exit 1 -} +} >&2 # OS specific support (must be 'true' or 'false'). cygwin=false msys=false darwin=false nonstop=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; - NONSTOP* ) - nonstop=true - ;; +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; esac CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" + JAVACMD=$JAVA_HOME/jre/sh/java else - JAVACMD="$JAVA_HOME/bin/java" + JAVACMD=$JAVA_HOME/bin/java fi if [ ! -x "$JAVACMD" ] ; then die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME @@ -97,87 +129,120 @@ Please set the JAVA_HOME variable in your environment to match the location of your Java installation." fi else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + JAVACMD=java + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac fi -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. # For Cygwin or MSYS, switch paths to Windows format before running java -if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) fi - i=`expr $i + 1` + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg done - case $i in - 0) set -- ;; - 1) set -- "$args0" ;; - 2) set -- "$args0" "$args1" ;; - 3) set -- "$args0" "$args1" "$args2" ;; - 4) set -- "$args0" "$args1" "$args2" "$args3" ;; - 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac fi -# Escape application args -save () { - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done - echo " " -} -APP_ARGS=`save "$@"` -# Collect all arguments for the java command, following the shell quoting and substitution rules -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat index 62bd9b9cce..6689b85bee 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -1,103 +1,92 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windows variants - -if not "%OS%" == "Windows_NT" goto win9xME_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega From ce92999ef93454868448799619035c31a379e116 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Tue, 30 Jan 2024 00:51:29 +0800 Subject: [PATCH 04/32] Level 0. Rename, Greet, Exit --- src/main/java/Luke.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/main/java/Luke.java diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java new file mode 100644 index 0000000000..def127ecbd --- /dev/null +++ b/src/main/java/Luke.java @@ -0,0 +1,14 @@ +public class Luke { + public static void main(String[] args) { + // Greetings + System.out.println("__________________________________________"); + System.out.println("Hello! I'm Luke"); + System.out.println("What can I do for you?"); + System.out.println("__________________________________________"); + + // Bye and exits + System.out.println("Bye. Hope to see you again soon!"); + System.out.println("__________________________________________"); + + } +} From 6027b546836fe201153ac4e31a678dd20e33338c Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Tue, 30 Jan 2024 00:58:09 +0800 Subject: [PATCH 05/32] Level 1. Echo --- src/main/java/Luke.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index def127ecbd..9498e9f0d0 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -1,3 +1,5 @@ +import java.util.Scanner; + public class Luke { public static void main(String[] args) { // Greetings @@ -6,7 +8,19 @@ public static void main(String[] args) { System.out.println("What can I do for you?"); System.out.println("__________________________________________"); + // Echo + Scanner sc = new Scanner(System.in); + String input = sc.nextLine(); + + while (!input.equals("bye")) { + System.out.println("__________________________________________"); + System.out.println(input); + System.out.println("__________________________________________"); + input = sc.nextLine(); + } + // Bye and exits + System.out.println("__________________________________________"); System.out.println("Bye. Hope to see you again soon!"); System.out.println("__________________________________________"); From 3978fe8dd965205df70a964821324596066cc8fd Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Tue, 30 Jan 2024 01:18:29 +0800 Subject: [PATCH 06/32] Level 2. Add, List --- src/main/java/Luke.java | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 9498e9f0d0..8ead6831e9 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -1,3 +1,4 @@ +import java.util.ArrayList; import java.util.Scanner; public class Luke { @@ -8,20 +9,34 @@ public static void main(String[] args) { System.out.println("What can I do for you?"); System.out.println("__________________________________________"); - // Echo + // user inputs Scanner sc = new Scanner(System.in); String input = sc.nextLine(); + ArrayList list = new ArrayList(); + // Conditions while (!input.equals("bye")) { - System.out.println("__________________________________________"); - System.out.println(input); - System.out.println("__________________________________________"); + if (input.equals("list")) { + System.out.println("__________________________________________"); + for (int i = 0; i < list.size(); i++) { + if (list.get(i) != null) { + System.out.println(i + 1 + ". " + list.get(i)); + } + } + System.out.println("__________________________________________"); + + } else { + list.add(input); + System.out.println("__________________________________________"); + System.out.println("added: " + input); + System.out.println("__________________________________________"); + } input = sc.nextLine(); } // Bye and exits System.out.println("__________________________________________"); - System.out.println("Bye. Hope to see you again soon!"); + System.out.println("Bye! Hope to see you again soon!"); System.out.println("__________________________________________"); } From 946946085c64f25e704b91fc52382a87641a9593 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Tue, 30 Jan 2024 01:41:02 +0800 Subject: [PATCH 07/32] Level 3. Mark as Done --- src/main/java/Luke.java | 32 +++++++++++++++++++++++++++++--- src/main/java/Task.java | 27 +++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 src/main/java/Task.java diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 8ead6831e9..23450fae0b 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -12,26 +12,52 @@ public static void main(String[] args) { // user inputs Scanner sc = new Scanner(System.in); String input = sc.nextLine(); - ArrayList list = new ArrayList(); + ArrayList list = new ArrayList<>(); // Conditions while (!input.equals("bye")) { if (input.equals("list")) { System.out.println("__________________________________________"); + System.out.println("Here are the tasks in your list:"); + for (int i = 0; i < list.size(); i++) { if (list.get(i) != null) { - System.out.println(i + 1 + ". " + list.get(i)); + System.out.println(i + 1 + ".[" + list.get(i).printStatus() + "] " + list.get(i)); + } } System.out.println("__________________________________________"); + } else if (input.contains("mark")) { + String[] instruction = input.split(" "); + String markOrUnmark = instruction[0]; + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (markOrUnmark.equals("mark")) { + list.get(index).markAsDone(); + System.out.println("__________________________________________"); + System.out.println("Nice! I've marked this task as done:"); + System.out.println("[" + list.get(index).printStatus() + "] " + list.get(index)); + System.out.println("__________________________________________"); + + } else if (markOrUnmark.equals("unmark")) { + list.get(index).markAsUndone(); + System.out.println("__________________________________________"); + System.out.println("OK, I've marked this task as not done yet:"); + System.out.println("[" + list.get(index).printStatus() + "] " + list.get(index)); + System.out.println("__________________________________________"); + + } + } else { - list.add(input); + list.add(new Task(input)); System.out.println("__________________________________________"); System.out.println("added: " + input); System.out.println("__________________________________________"); + } input = sc.nextLine(); + } // Bye and exits diff --git a/src/main/java/Task.java b/src/main/java/Task.java new file mode 100644 index 0000000000..d908e73d9a --- /dev/null +++ b/src/main/java/Task.java @@ -0,0 +1,27 @@ +public class Task { + protected String description; + protected boolean isDone; + + public Task(String description) { + this.description = description; + this.isDone = false; + } + + public String printStatus() { + return (isDone ? "X" : " "); // mark done task with X + } + + public void markAsDone() { + this.isDone = true; + } + + public void markAsUndone() { + this.isDone = false; + } + + @Override + public String toString() { + return this.description; + } + +} From ea26f8012b463b8f9f05f65c411ef0002bcfd0bd Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Wed, 31 Jan 2024 16:54:41 +0800 Subject: [PATCH 08/32] Level 4. ToDos, Events, Deadlines --- src/main/java/Deadline.java | 13 +++++++++++ src/main/java/Event.java | 16 ++++++++++++++ src/main/java/Luke.java | 44 ++++++++++++++++++++++++++++++++----- src/main/java/Task.java | 4 ++-- src/main/java/Todo.java | 10 +++++++++ 5 files changed, 80 insertions(+), 7 deletions(-) create mode 100644 src/main/java/Deadline.java create mode 100644 src/main/java/Event.java create mode 100644 src/main/java/Todo.java diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java new file mode 100644 index 0000000000..8b2cbaee7f --- /dev/null +++ b/src/main/java/Deadline.java @@ -0,0 +1,13 @@ +public class Deadline extends Task { + protected String by; + public Deadline(String description, String by) { + super(description); + this.by = by; + } + + @Override + public String toString() { + return "[D]" + super.toString() + " (by: " + by + ")"; + } + +} diff --git a/src/main/java/Event.java b/src/main/java/Event.java new file mode 100644 index 0000000000..e282db4754 --- /dev/null +++ b/src/main/java/Event.java @@ -0,0 +1,16 @@ +public class Event extends Task{ + protected String from; + protected String to; + + public Event(String description, String from, String to) { + super(description); + this.from = from; + this.to = to; + } + + @Override + public String toString() { + return "[E]" + super.toString() + " (from: " + this.from + " to: " + this.to + ")"; + + } +} diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 23450fae0b..cef490dcf5 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -22,7 +22,7 @@ public static void main(String[] args) { for (int i = 0; i < list.size(); i++) { if (list.get(i) != null) { - System.out.println(i + 1 + ".[" + list.get(i).printStatus() + "] " + list.get(i)); + System.out.println(i + 1 + "." + list.get(i)); } } @@ -37,22 +37,56 @@ public static void main(String[] args) { list.get(index).markAsDone(); System.out.println("__________________________________________"); System.out.println("Nice! I've marked this task as done:"); - System.out.println("[" + list.get(index).printStatus() + "] " + list.get(index)); + System.out.println(list.get(index)); System.out.println("__________________________________________"); } else if (markOrUnmark.equals("unmark")) { list.get(index).markAsUndone(); System.out.println("__________________________________________"); System.out.println("OK, I've marked this task as not done yet:"); - System.out.println("[" + list.get(index).printStatus() + "] " + list.get(index)); + System.out.println(list.get(index)); System.out.println("__________________________________________"); } } else { - list.add(new Task(input)); + String[] instruction = input.split(" "); + String type = instruction[0]; + + if (type.equals("todo")) { + // 5 is the index after "todo ", so starts from index 5 + String description = input.substring(5); + list.add(new Todo(description)); + + } else if (type.equals("deadline")) { + // 9 is the index after "deadline ", so starts from index 9 + // -1 to remove the space before "/by" + String description = input.substring(9, input.indexOf("/by") - 1); + // +4 to remove the "/by " and start from the index after "/by " + String by = input.substring(input.indexOf("/by") + 4); + list.add(new Deadline(description, by)); + + } else if (type.equals("event")) { + // 6 is the index after "event ", so starts from index 6 + // -1 to remove the space before "/from" + String description = input.substring(6, input.indexOf("/from") - 1); + // +6 to remove the "/from " and start from the index after "/from " + // -1 to remove the space before "/to" + String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); + // +4 to remove the "/to " and start from the index after "/to " + String to = input.substring(input.indexOf("/to") + 4); + list.add(new Event(description, from, to)); + + } + System.out.println("__________________________________________"); - System.out.println("added: " + input); + System.out.println("Got it. I've added this task: "); + System.out.println(" " + list.get(list.size() - 1)); + if (list.size() == 1) { + System.out.println("Now you have " + list.size() + " task in the list."); + } else { + System.out.println("Now you have " + list.size() + " tasks in the list."); + } System.out.println("__________________________________________"); } diff --git a/src/main/java/Task.java b/src/main/java/Task.java index d908e73d9a..b8368af415 100644 --- a/src/main/java/Task.java +++ b/src/main/java/Task.java @@ -7,7 +7,7 @@ public Task(String description) { this.isDone = false; } - public String printStatus() { + private String printStatus() { return (isDone ? "X" : " "); // mark done task with X } @@ -21,7 +21,7 @@ public void markAsUndone() { @Override public String toString() { - return this.description; + return "[" + printStatus() + "] " + this.description; } } diff --git a/src/main/java/Todo.java b/src/main/java/Todo.java new file mode 100644 index 0000000000..eabef3ab8f --- /dev/null +++ b/src/main/java/Todo.java @@ -0,0 +1,10 @@ +public class Todo extends Task { + public Todo(String description) { + super(description); + } + + @Override + public String toString() { + return "[T]" + super.toString(); + } +} From 8eab31f3abdf4cd4b68ecaf882635b79ade8c5a6 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Wed, 31 Jan 2024 17:34:53 +0800 Subject: [PATCH 09/32] A-TextUiTesting: Automated Text UI Testing --- src/main/java/Luke.java | 24 ++++++++-------- text-ui-test/EXPECTED.TXT | 59 ++++++++++++++++++++++++++++++++++----- text-ui-test/input.txt | 10 +++++++ text-ui-test/runtest.bat | 2 +- text-ui-test/runtest.sh | 2 +- 5 files changed, 76 insertions(+), 21 deletions(-) diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index cef490dcf5..0378ae8935 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -4,10 +4,10 @@ public class Luke { public static void main(String[] args) { // Greetings - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); System.out.println("Hello! I'm Luke"); System.out.println("What can I do for you?"); - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); // user inputs Scanner sc = new Scanner(System.in); @@ -17,7 +17,7 @@ public static void main(String[] args) { // Conditions while (!input.equals("bye")) { if (input.equals("list")) { - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); System.out.println("Here are the tasks in your list:"); for (int i = 0; i < list.size(); i++) { @@ -26,7 +26,7 @@ public static void main(String[] args) { } } - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); } else if (input.contains("mark")) { String[] instruction = input.split(" "); @@ -35,17 +35,17 @@ public static void main(String[] args) { if (markOrUnmark.equals("mark")) { list.get(index).markAsDone(); - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); System.out.println("Nice! I've marked this task as done:"); System.out.println(list.get(index)); - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); } else if (markOrUnmark.equals("unmark")) { list.get(index).markAsUndone(); - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); System.out.println("OK, I've marked this task as not done yet:"); System.out.println(list.get(index)); - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); } @@ -79,7 +79,7 @@ public static void main(String[] args) { } - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); System.out.println("Got it. I've added this task: "); System.out.println(" " + list.get(list.size() - 1)); if (list.size() == 1) { @@ -87,7 +87,7 @@ public static void main(String[] args) { } else { System.out.println("Now you have " + list.size() + " tasks in the list."); } - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); } input = sc.nextLine(); @@ -95,9 +95,9 @@ public static void main(String[] args) { } // Bye and exits - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); System.out.println("Bye! Hope to see you again soon!"); - System.out.println("__________________________________________"); + System.out.println("____________________________________________________________"); } } diff --git a/text-ui-test/EXPECTED.TXT b/text-ui-test/EXPECTED.TXT index 657e74f6e7..637ecb2221 100644 --- a/text-ui-test/EXPECTED.TXT +++ b/text-ui-test/EXPECTED.TXT @@ -1,7 +1,52 @@ -Hello from - ____ _ -| _ \ _ _| | _____ -| | | | | | | |/ / _ \ -| |_| | |_| | < __/ -|____/ \__,_|_|\_\___| - +____________________________________________________________ +Hello! I'm Luke +What can I do for you? +____________________________________________________________ +____________________________________________________________ +Got it. I've added this task: + [T][ ] read books +Now you have 1 task in the list. +____________________________________________________________ +____________________________________________________________ +Got it. I've added this task: + [D][ ] return books (by: Sunday) +Now you have 2 tasks in the list. +____________________________________________________________ +____________________________________________________________ +Got it. I've added this task: + [E][ ] project meeting (from: Monday to: Wednesday) +Now you have 3 tasks in the list. +____________________________________________________________ +____________________________________________________________ +Here are the tasks in your list: +1.[T][ ] read books +2.[D][ ] return books (by: Sunday) +3.[E][ ] project meeting (from: Monday to: Wednesday) +____________________________________________________________ +____________________________________________________________ +Nice! I've marked this task as done: +[D][X] return books (by: Sunday) +____________________________________________________________ +____________________________________________________________ +Here are the tasks in your list: +1.[T][ ] read books +2.[D][X] return books (by: Sunday) +3.[E][ ] project meeting (from: Monday to: Wednesday) +____________________________________________________________ +____________________________________________________________ +Nice! I've marked this task as done: +[E][X] project meeting (from: Monday to: Wednesday) +____________________________________________________________ +____________________________________________________________ +OK, I've marked this task as not done yet: +[D][ ] return books (by: Sunday) +____________________________________________________________ +____________________________________________________________ +Here are the tasks in your list: +1.[T][ ] read books +2.[D][ ] return books (by: Sunday) +3.[E][X] project meeting (from: Monday to: Wednesday) +____________________________________________________________ +____________________________________________________________ +Bye! Hope to see you again soon! +____________________________________________________________ \ No newline at end of file diff --git a/text-ui-test/input.txt b/text-ui-test/input.txt index e69de29bb2..050778d39a 100644 --- a/text-ui-test/input.txt +++ b/text-ui-test/input.txt @@ -0,0 +1,10 @@ +todo read books +deadline return books /by Sunday +event project meeting /from Monday /to Wednesday +list +mark 2 +list +mark 3 +unmark 2 +list +bye \ No newline at end of file diff --git a/text-ui-test/runtest.bat b/text-ui-test/runtest.bat index 0873744649..20ffd37b23 100644 --- a/text-ui-test/runtest.bat +++ b/text-ui-test/runtest.bat @@ -15,7 +15,7 @@ IF ERRORLEVEL 1 ( REM no error here, errorlevel == 0 REM run the program, feed commands from input.txt file and redirect the output to the ACTUAL.TXT -java -classpath ..\bin Duke < input.txt > ACTUAL.TXT +java -classpath ..\bin Luke < input.txt > ACTUAL.TXT REM compare the output to the expected output FC ACTUAL.TXT EXPECTED.TXT diff --git a/text-ui-test/runtest.sh b/text-ui-test/runtest.sh index c9ec870033..1f93b1ba22 100644 --- a/text-ui-test/runtest.sh +++ b/text-ui-test/runtest.sh @@ -20,7 +20,7 @@ then fi # run the program, feed commands from input.txt file and redirect the output to the ACTUAL.TXT -java -classpath ../bin Duke < input.txt > ACTUAL.TXT +java -classpath ../bin Luke < input.txt > ACTUAL.TXT # convert to UNIX format cp EXPECTED.TXT EXPECTED-UNIX.TXT From cb2fd36c856ab1c474655f83dc731992fe2e25ae Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Wed, 31 Jan 2024 18:35:12 +0800 Subject: [PATCH 10/32] Level 5. Handle Errors --- src/main/java/Luke.java | 122 +++++++++++++++++++------------ src/main/java/LukeException.java | 6 ++ src/main/java/TaskException.java | 7 ++ text-ui-test/EXPECTED.TXT | 116 +++++++++++++++++++---------- text-ui-test/input.txt | 14 +++- 5 files changed, 175 insertions(+), 90 deletions(-) create mode 100644 src/main/java/LukeException.java create mode 100644 src/main/java/TaskException.java diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 0378ae8935..274594dcc3 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -2,14 +2,14 @@ import java.util.Scanner; public class Luke { - public static void main(String[] args) { + public static void main(String[] args) throws LukeException { // Greetings - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); System.out.println("Hello! I'm Luke"); System.out.println("What can I do for you?"); - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); - // user inputs + // User inputs Scanner sc = new Scanner(System.in); String input = sc.nextLine(); ArrayList list = new ArrayList<>(); @@ -17,7 +17,7 @@ public static void main(String[] args) { // Conditions while (!input.equals("bye")) { if (input.equals("list")) { - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); System.out.println("Here are the tasks in your list:"); for (int i = 0; i < list.size(); i++) { @@ -26,7 +26,7 @@ public static void main(String[] args) { } } - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); } else if (input.contains("mark")) { String[] instruction = input.split(" "); @@ -35,69 +35,95 @@ public static void main(String[] args) { if (markOrUnmark.equals("mark")) { list.get(index).markAsDone(); - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); System.out.println("Nice! I've marked this task as done:"); System.out.println(list.get(index)); - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); } else if (markOrUnmark.equals("unmark")) { list.get(index).markAsUndone(); - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); System.out.println("OK, I've marked this task as not done yet:"); System.out.println(list.get(index)); - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); } } else { - String[] instruction = input.split(" "); - String type = instruction[0]; - - if (type.equals("todo")) { - // 5 is the index after "todo ", so starts from index 5 - String description = input.substring(5); - list.add(new Todo(description)); - - } else if (type.equals("deadline")) { - // 9 is the index after "deadline ", so starts from index 9 - // -1 to remove the space before "/by" - String description = input.substring(9, input.indexOf("/by") - 1); - // +4 to remove the "/by " and start from the index after "/by " - String by = input.substring(input.indexOf("/by") + 4); - list.add(new Deadline(description, by)); - - } else if (type.equals("event")) { - // 6 is the index after "event ", so starts from index 6 - // -1 to remove the space before "/from" - String description = input.substring(6, input.indexOf("/from") - 1); - // +6 to remove the "/from " and start from the index after "/from " - // -1 to remove the space before "/to" - String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); - // +4 to remove the "/to " and start from the index after "/to " - String to = input.substring(input.indexOf("/to") + 4); - list.add(new Event(description, from, to)); + try { + if (input.equals("todo") || input.equals("deadline") || input.equals("event")) { + throw new LukeException("Hold up!! The description of a " + input + " cannot be empty.\n" + + "Please enter a description after your " + input + "."); + } - } + String[] instruction = input.split(" "); + String type = instruction[0]; + + if (type.equals("todo")) { + // 5 is the index after "todo ", so starts from index 5 + String description = input.substring(5); + list.add(new Todo(description)); + + } else if (type.equals("deadline")) { + try { + // 9 is the index after "deadline ", so starts from index 9 + // -1 to remove the space before "/by" + String description = input.substring(9, input.indexOf("/by") - 1); + // +4 to remove the "/by " and start from the index after "/by " + String by = input.substring(input.indexOf("/by") + 4); + list.add(new Deadline(description, by)); + + } catch (StringIndexOutOfBoundsException e) { + throw new TaskException("Hold up!! The description of a deadline cannot be empty.\n" + + "Please follow this format: deadline /by ."); + } + + } else if (type.equals("event")) { + try { + // 6 is the index after "event ", so starts from index 6 + // -1 to remove the space before "/from" + String description = input.substring(6, input.indexOf("/from") - 1); + // +6 to remove the "/from " and start from the index after "/from " + // -1 to remove the space before "/to" + String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); + // +4 to remove the "/to " and start from the index after "/to " + String to = input.substring(input.indexOf("/to") + 4); + list.add(new Event(description, from, to)); + } catch (StringIndexOutOfBoundsException e) { + throw new TaskException("Hold up!! The description of an event cannot be empty.\n" + + "Please follow this format: event " + + "/from /to ."); + + } + + } else { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - System.out.println("____________________________________________________________"); - System.out.println("Got it. I've added this task: "); - System.out.println(" " + list.get(list.size() - 1)); - if (list.size() == 1) { - System.out.println("Now you have " + list.size() + " task in the list."); - } else { - System.out.println("Now you have " + list.size() + " tasks in the list."); - } - System.out.println("____________________________________________________________"); + } + System.out.println("________________________________________________________________________"); + System.out.println("Got it. I've added this task: "); + System.out.println(" " + list.get(list.size() - 1)); + if (list.size() == 1) { + System.out.println("Now you have " + list.size() + " task in the list."); + } else { + System.out.println("Now you have " + list.size() + " tasks in the list."); + } + System.out.println("________________________________________________________________________"); + } catch (LukeException | TaskException e) { + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("________________________________________________________________________"); + } } input = sc.nextLine(); } // Bye and exits - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); System.out.println("Bye! Hope to see you again soon!"); - System.out.println("____________________________________________________________"); + System.out.println("________________________________________________________________________"); } } diff --git a/src/main/java/LukeException.java b/src/main/java/LukeException.java new file mode 100644 index 0000000000..87a4740316 --- /dev/null +++ b/src/main/java/LukeException.java @@ -0,0 +1,6 @@ +public class LukeException extends Exception { + public LukeException(String message) { + super(message); + } + +} diff --git a/src/main/java/TaskException.java b/src/main/java/TaskException.java new file mode 100644 index 0000000000..5292e51055 --- /dev/null +++ b/src/main/java/TaskException.java @@ -0,0 +1,7 @@ +import java.util.*; +public class TaskException extends Exception { + public TaskException(String message) { + super(message); + } + +} diff --git a/text-ui-test/EXPECTED.TXT b/text-ui-test/EXPECTED.TXT index 637ecb2221..ea6a2059b9 100644 --- a/text-ui-test/EXPECTED.TXT +++ b/text-ui-test/EXPECTED.TXT @@ -1,52 +1,90 @@ -____________________________________________________________ +________________________________________________________________________ Hello! I'm Luke What can I do for you? -____________________________________________________________ -____________________________________________________________ -Got it. I've added this task: - [T][ ] read books +________________________________________________________________________ +________________________________________________________________________ +Hold up!! The description of a todo cannot be empty. +Please enter a description after your todo. +________________________________________________________________________ +________________________________________________________________________ +Hold up!! The description of a deadline cannot be empty. +Please enter a description after your deadline. +________________________________________________________________________ +________________________________________________________________________ +Hold up!! The description of a event cannot be empty. +Please enter a description after your event. +________________________________________________________________________ +________________________________________________________________________ +Hold up!! I am sorry, but I don't know what you mean by that :'( +________________________________________________________________________ +________________________________________________________________________ +Got it. I've added this task: + [T][ ] read book Now you have 1 task in the list. -____________________________________________________________ -____________________________________________________________ -Got it. I've added this task: - [D][ ] return books (by: Sunday) +________________________________________________________________________ +________________________________________________________________________ +Got it. I've added this task: + [T][ ] go for a run Now you have 2 tasks in the list. -____________________________________________________________ -____________________________________________________________ -Got it. I've added this task: - [E][ ] project meeting (from: Monday to: Wednesday) +________________________________________________________________________ +________________________________________________________________________ +Hold up!! The description of a deadline cannot be empty. +Please follow this format: deadline /by . +________________________________________________________________________ +________________________________________________________________________ +Got it. I've added this task: + [D][ ] homework (by: Sunday) Now you have 3 tasks in the list. -____________________________________________________________ -____________________________________________________________ +________________________________________________________________________ +________________________________________________________________________ +Hold up!! The description of an event cannot be empty. +Please follow this format: event /from /to . +________________________________________________________________________ +________________________________________________________________________ +Got it. I've added this task: + [E][ ] project meeting (from: Monday to: Wednesday) +Now you have 4 tasks in the list. +________________________________________________________________________ +________________________________________________________________________ Here are the tasks in your list: -1.[T][ ] read books -2.[D][ ] return books (by: Sunday) -3.[E][ ] project meeting (from: Monday to: Wednesday) -____________________________________________________________ -____________________________________________________________ +1.[T][ ] read book +2.[T][ ] go for a run +3.[D][ ] homework (by: Sunday) +4.[E][ ] project meeting (from: Monday to: Wednesday) +________________________________________________________________________ +________________________________________________________________________ Nice! I've marked this task as done: -[D][X] return books (by: Sunday) -____________________________________________________________ -____________________________________________________________ +[T][X] go for a run +________________________________________________________________________ +________________________________________________________________________ Here are the tasks in your list: -1.[T][ ] read books -2.[D][X] return books (by: Sunday) -3.[E][ ] project meeting (from: Monday to: Wednesday) -____________________________________________________________ -____________________________________________________________ +1.[T][ ] read book +2.[T][X] go for a run +3.[D][ ] homework (by: Sunday) +4.[E][ ] project meeting (from: Monday to: Wednesday) +________________________________________________________________________ +________________________________________________________________________ Nice! I've marked this task as done: [E][X] project meeting (from: Monday to: Wednesday) -____________________________________________________________ -____________________________________________________________ +________________________________________________________________________ +________________________________________________________________________ +Here are the tasks in your list: +1.[T][ ] read book +2.[T][X] go for a run +3.[D][ ] homework (by: Sunday) +4.[E][X] project meeting (from: Monday to: Wednesday) +________________________________________________________________________ +________________________________________________________________________ OK, I've marked this task as not done yet: -[D][ ] return books (by: Sunday) -____________________________________________________________ -____________________________________________________________ +[T][ ] go for a run +________________________________________________________________________ +________________________________________________________________________ Here are the tasks in your list: -1.[T][ ] read books -2.[D][ ] return books (by: Sunday) -3.[E][X] project meeting (from: Monday to: Wednesday) -____________________________________________________________ -____________________________________________________________ +1.[T][ ] read book +2.[T][ ] go for a run +3.[D][ ] homework (by: Sunday) +4.[E][X] project meeting (from: Monday to: Wednesday) +________________________________________________________________________ +________________________________________________________________________ Bye! Hope to see you again soon! -____________________________________________________________ \ No newline at end of file +________________________________________________________________________ diff --git a/text-ui-test/input.txt b/text-ui-test/input.txt index 050778d39a..d157735a90 100644 --- a/text-ui-test/input.txt +++ b/text-ui-test/input.txt @@ -1,10 +1,18 @@ -todo read books -deadline return books /by Sunday +todo +deadline +event +blah +todo read book +todo go for a run +deadline homework +deadline homework /by Sunday +event project meeting event project meeting /from Monday /to Wednesday list mark 2 list -mark 3 +mark 4 +list unmark 2 list bye \ No newline at end of file From 7c6436708c2f2d1519afefa696234aba60128312 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 1 Feb 2024 04:09:06 +0800 Subject: [PATCH 11/32] Level 6. Delete --- src/main/java/Luke.java | 104 ++++++++++++++++++++++++++----- src/main/java/LukeException.java | 1 - src/main/java/TaskException.java | 2 - text-ui-test/EXPECTED.TXT | 61 +++++++++++++----- text-ui-test/input.txt | 14 ++++- 5 files changed, 148 insertions(+), 34 deletions(-) mode change 100644 => 100755 src/main/java/LukeException.java mode change 100644 => 100755 src/main/java/TaskException.java diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 274594dcc3..03d0920322 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -29,24 +29,100 @@ public static void main(String[] args) throws LukeException { System.out.println("________________________________________________________________________"); } else if (input.contains("mark")) { - String[] instruction = input.split(" "); - String markOrUnmark = instruction[0]; - int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + try { + if (input.equals("mark") || input.equals("unmark")) { + throw new LukeException("Hold up!! There must be a task to " + input + "!\n" + + "Please enter an index after " + input + "."); + } + + try { + String[] instruction = input.split(" "); + String markOrUnmark = instruction[0]; + + if (!markOrUnmark.equals("mark") && !markOrUnmark.equals("unmark")) { + System.out.println("test"); + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (index >= list.size()) { + throw new LukeException("Hold up!! There is no such task in the list.\n" + + "Please enter a valid index after " + input.split(" ")[0] + "."); + } - if (markOrUnmark.equals("mark")) { - list.get(index).markAsDone(); + if (markOrUnmark.equals("mark")) { + list.get(index).markAsDone(); + System.out.println("________________________________________________________________________"); + System.out.println("Nice! I've marked this task as done:"); + System.out.println(list.get(index)); + System.out.println("________________________________________________________________________"); + + } else if (markOrUnmark.equals("unmark")) { + list.get(index).markAsUndone(); + System.out.println("________________________________________________________________________"); + System.out.println("OK, I've marked this task as not done yet:"); + System.out.println(list.get(index)); + System.out.println("________________________________________________________________________"); + + } else { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + } catch (NumberFormatException | IndexOutOfBoundsException e) { + throw new LukeException("Hold up!! Please enter a valid index after " + + input.split(" ")[0] + "."); + } + + + } catch (LukeException e) { System.out.println("________________________________________________________________________"); - System.out.println("Nice! I've marked this task as done:"); - System.out.println(list.get(index)); + System.out.println(e.getMessage()); System.out.println("________________________________________________________________________"); + } - } else if (markOrUnmark.equals("unmark")) { - list.get(index).markAsUndone(); + } else if (input.contains("delete")) { + try { + if (input.equals("delete")) { + throw new LukeException("Hold up!! There must be a task to delete!\n" + + "Please enter an index after " + input + "."); + } + + try { + String[] instruction = input.split(" "); + String delete = instruction[0]; + + if (!delete.equals("delete")) { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (index >= list.size()) { + throw new LukeException("Hold up!! There is no such task in the list.\n" + + "Please enter a valid index after delete."); + } + + Task removedTask = list.get(index); + list.remove(index); + System.out.println("________________________________________________________________________"); + System.out.println("Noted. I've removed this task:"); + System.out.println(removedTask); + + if (list.size() <= 1) { + System.out.println("Now you have " + list.size() + " task in the list."); + } else { + System.out.println("Now you have " + list.size() + " tasks in the list."); + } + System.out.println("________________________________________________________________________"); + } catch (NumberFormatException | IndexOutOfBoundsException e) { + throw new LukeException("Hold up!! Please enter a valid index after delete."); + } + + } catch (LukeException e) { System.out.println("________________________________________________________________________"); - System.out.println("OK, I've marked this task as not done yet:"); - System.out.println(list.get(index)); + System.out.println(e.getMessage()); System.out.println("________________________________________________________________________"); - } } else { @@ -102,9 +178,9 @@ public static void main(String[] args) throws LukeException { } System.out.println("________________________________________________________________________"); - System.out.println("Got it. I've added this task: "); + System.out.println("Got it. I've added this task:"); System.out.println(" " + list.get(list.size() - 1)); - if (list.size() == 1) { + if (list.size() <= 1) { System.out.println("Now you have " + list.size() + " task in the list."); } else { System.out.println("Now you have " + list.size() + " tasks in the list."); diff --git a/src/main/java/LukeException.java b/src/main/java/LukeException.java old mode 100644 new mode 100755 index 87a4740316..b18ac2f019 --- a/src/main/java/LukeException.java +++ b/src/main/java/LukeException.java @@ -2,5 +2,4 @@ public class LukeException extends Exception { public LukeException(String message) { super(message); } - } diff --git a/src/main/java/TaskException.java b/src/main/java/TaskException.java old mode 100644 new mode 100755 index 5292e51055..e38d26c84b --- a/src/main/java/TaskException.java +++ b/src/main/java/TaskException.java @@ -1,7 +1,5 @@ -import java.util.*; public class TaskException extends Exception { public TaskException(String message) { super(message); } - } diff --git a/text-ui-test/EXPECTED.TXT b/text-ui-test/EXPECTED.TXT index ea6a2059b9..e830347b1f 100644 --- a/text-ui-test/EXPECTED.TXT +++ b/text-ui-test/EXPECTED.TXT @@ -3,6 +3,21 @@ Hello! I'm Luke What can I do for you? ________________________________________________________________________ ________________________________________________________________________ +Hold up!! I am sorry, but I don't know what you mean by that :'( +________________________________________________________________________ +________________________________________________________________________ +Hold up!! There must be a task to unmark! +Please enter an index after unmark. +________________________________________________________________________ +________________________________________________________________________ +Hold up!! There must be a task to mark! +Please enter an index after mark. +________________________________________________________________________ +________________________________________________________________________ +Hold up!! There must be a task to delete! +Please enter an index after delete. +________________________________________________________________________ +________________________________________________________________________ Hold up!! The description of a todo cannot be empty. Please enter a description after your todo. ________________________________________________________________________ @@ -15,9 +30,6 @@ Hold up!! The description of a event cannot be empty. Please enter a description after your event. ________________________________________________________________________ ________________________________________________________________________ -Hold up!! I am sorry, but I don't know what you mean by that :'( -________________________________________________________________________ -________________________________________________________________________ Got it. I've added this task: [T][ ] read book Now you have 1 task in the list. @@ -42,7 +54,7 @@ Please follow this format: event /from /to Date: Wed, 7 Feb 2024 18:43:30 +0800 Subject: [PATCH 12/32] Level 7. Save --- src/main/java/Deadline.java | 7 ++- src/main/java/Event.java | 5 ++ src/main/java/FileException.java | 5 ++ src/main/java/Luke.java | 40 ++++++++++++++- src/main/java/LukeIO.java | 84 ++++++++++++++++++++++++++++++++ src/main/java/Task.java | 7 ++- src/main/java/Todo.java | 5 ++ 7 files changed, 150 insertions(+), 3 deletions(-) create mode 100644 src/main/java/FileException.java create mode 100644 src/main/java/LukeIO.java diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java index 8b2cbaee7f..ebd17e263f 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/Deadline.java @@ -5,9 +5,14 @@ public Deadline(String description, String by) { this.by = by; } + @Override + public String toDataString() { + return "D:" + super.toDataString() + ":" + this.by; + } + @Override public String toString() { - return "[D]" + super.toString() + " (by: " + by + ")"; + return "[D]" + super.toString() + " (by: " + this.by + ")"; } } diff --git a/src/main/java/Event.java b/src/main/java/Event.java index e282db4754..0da78408e5 100644 --- a/src/main/java/Event.java +++ b/src/main/java/Event.java @@ -8,6 +8,11 @@ public Event(String description, String from, String to) { this.to = to; } + @Override + public String toDataString() { + return "E:" + super.toDataString() + ":" + this.from + ":" + this.to; + } + @Override public String toString() { return "[E]" + super.toString() + " (from: " + this.from + " to: " + this.to + ")"; diff --git a/src/main/java/FileException.java b/src/main/java/FileException.java new file mode 100644 index 0000000000..d5d8e6947d --- /dev/null +++ b/src/main/java/FileException.java @@ -0,0 +1,5 @@ +public class FileException extends Exception { + public FileException(String message) { + super(message); + } +} diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 03d0920322..6cd768225d 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -1,8 +1,25 @@ +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; import java.util.ArrayList; import java.util.Scanner; public class Luke { + private static final String FILE_PATH = "./src/main/data/luke.txt"; + public static void main(String[] args) throws LukeException { + ArrayList list = new ArrayList<>(); + LukeIO lukeIO = new LukeIO(FILE_PATH); + + try { + list = lukeIO.readTask(); + + } catch (FileException e) { + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("________________________________________________________________________"); + } + // Greetings System.out.println("________________________________________________________________________"); System.out.println("Hello! I'm Luke"); @@ -12,7 +29,7 @@ public static void main(String[] args) throws LukeException { // User inputs Scanner sc = new Scanner(System.in); String input = sc.nextLine(); - ArrayList list = new ArrayList<>(); + // Conditions while (!input.equals("bye")) { @@ -69,9 +86,16 @@ public static void main(String[] args) throws LukeException { throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); } + lukeIO.writeTask(list); + } catch (NumberFormatException | IndexOutOfBoundsException e) { throw new LukeException("Hold up!! Please enter a valid index after " + input.split(" ")[0] + "."); + } catch (FileException e) { + System.out.println("________________________________________________________________________"); + System.out.println("Sorry! There was an error editing the file! :'("); + e.printStackTrace(); + System.out.println("________________________________________________________________________"); } @@ -109,6 +133,8 @@ public static void main(String[] args) throws LukeException { System.out.println("Noted. I've removed this task:"); System.out.println(removedTask); + lukeIO.writeTask(list); + if (list.size() <= 1) { System.out.println("Now you have " + list.size() + " task in the list."); } else { @@ -117,6 +143,11 @@ public static void main(String[] args) throws LukeException { System.out.println("________________________________________________________________________"); } catch (NumberFormatException | IndexOutOfBoundsException e) { throw new LukeException("Hold up!! Please enter a valid index after delete."); + } catch (FileException e) { + System.out.println("________________________________________________________________________"); + System.out.println("Sorry! There was an error editing the file! :'("); + e.printStackTrace(); + System.out.println("________________________________________________________________________"); } } catch (LukeException e) { @@ -177,6 +208,8 @@ public static void main(String[] args) throws LukeException { } + lukeIO.writeTask(list); + System.out.println("________________________________________________________________________"); System.out.println("Got it. I've added this task:"); System.out.println(" " + list.get(list.size() - 1)); @@ -190,6 +223,11 @@ public static void main(String[] args) throws LukeException { System.out.println("________________________________________________________________________"); System.out.println(e.getMessage()); System.out.println("________________________________________________________________________"); + } catch (FileException e) { + System.out.println("________________________________________________________________________"); + System.out.println("Sorry! There was an error editing the file! :'("); + e.printStackTrace(); + System.out.println("________________________________________________________________________"); } } input = sc.nextLine(); diff --git a/src/main/java/LukeIO.java b/src/main/java/LukeIO.java new file mode 100644 index 0000000000..36ed058bbd --- /dev/null +++ b/src/main/java/LukeIO.java @@ -0,0 +1,84 @@ +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Scanner; + +public class LukeIO { + private File file; + public LukeIO(String path) { + this.file = new File(path); + + if (!this.file.exists()) { + try { + this.file.getParentFile().mkdirs(); + this.file.createNewFile(); + } catch (IOException e) { + System.out.println("Sorry! There was an error creating the file! :'("); + e.printStackTrace(); + } + } + + } + public ArrayList readTask() throws FileException { + ArrayList tasks = new ArrayList(); + // Read tasks from file + try (Scanner sc = new Scanner(this.file)) { + while (sc.hasNextLine()) { + String line = sc.nextLine(); + String[] parts = line.split(":"); + + String type = parts[0]; + String markOrUnmark = parts[1]; + String description = parts[2]; + if (type.equals("T")) { + Task task = new Todo(description); + if (markOrUnmark.equals("X")) { + task.markAsDone(); + } + tasks.add(task); + } else if (type.equals("D")) { + String by = parts[3]; + Task task = new Deadline(description, by); + if (markOrUnmark.equals("X")) { + task.markAsDone(); + } + tasks.add(task); + } else if (type.equals("E")) { + String from = parts[3]; + String to = parts[4]; + Task task = new Event(description, from, to); + if (markOrUnmark.equals("X")) { + task.markAsDone(); + } + tasks.add(task); + } + + } + + } catch (FileNotFoundException e) { + // create new file + + + } catch (ArrayIndexOutOfBoundsException e) { + throw new FileException("Sorry! File is corrupted! :'("); + } + + return tasks; + } + + public void writeTask(ArrayList tasks) throws FileException { + try (FileWriter fw = new FileWriter(this.file, false)) { + for (Task task : tasks) { + fw.write(task.toDataString() + "\n"); + } + + + } catch (IOException e) { + throw new FileException("Sorry! File not found! :'("); + } + + + } +} diff --git a/src/main/java/Task.java b/src/main/java/Task.java index b8368af415..ddfb2d6479 100644 --- a/src/main/java/Task.java +++ b/src/main/java/Task.java @@ -8,17 +8,22 @@ public Task(String description) { } private String printStatus() { - return (isDone ? "X" : " "); // mark done task with X + return (this.isDone ? "X" : " "); // mark done task with X } public void markAsDone() { this.isDone = true; + } public void markAsUndone() { this.isDone = false; } + public String toDataString() { + return (this.isDone ? "X" : "O") + ":" + this.description; + } + @Override public String toString() { return "[" + printStatus() + "] " + this.description; diff --git a/src/main/java/Todo.java b/src/main/java/Todo.java index eabef3ab8f..4b05b61945 100644 --- a/src/main/java/Todo.java +++ b/src/main/java/Todo.java @@ -3,6 +3,11 @@ public Todo(String description) { super(description); } + @Override + public String toDataString() { + return "T:" + super.toDataString(); + } + @Override public String toString() { return "[T]" + super.toString(); From 4a7ddf148ed7273e242c63a5e8c34eca654f0261 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Wed, 7 Feb 2024 22:37:00 +0800 Subject: [PATCH 13/32] Level 8. Dates and Times --- src/main/java/DateException.java | 5 +++++ src/main/java/DateTimeParser.java | 34 +++++++++++++++++++++++++++++++ src/main/java/Deadline.java | 20 +++++++++++++----- src/main/java/Event.java | 26 ++++++++++++++++------- src/main/java/Luke.java | 7 +++++++ src/main/java/LukeIO.java | 12 ++++++++--- 6 files changed, 89 insertions(+), 15 deletions(-) create mode 100644 src/main/java/DateException.java create mode 100644 src/main/java/DateTimeParser.java diff --git a/src/main/java/DateException.java b/src/main/java/DateException.java new file mode 100644 index 0000000000..c824716b04 --- /dev/null +++ b/src/main/java/DateException.java @@ -0,0 +1,5 @@ +public class DateException extends Exception { + public DateException(String message) { + super(message); + } +} diff --git a/src/main/java/DateTimeParser.java b/src/main/java/DateTimeParser.java new file mode 100644 index 0000000000..0c77a89dfa --- /dev/null +++ b/src/main/java/DateTimeParser.java @@ -0,0 +1,34 @@ +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; +import java.time.format.DateTimeFormatterBuilder; +import java.time.format.DateTimeParseException; +import java.time.temporal.ChronoField; + +public class DateTimeParser { + private LocalDateTime date; + public DateTimeParser(String date) throws DateException { + DateTimeFormatter formatter = new DateTimeFormatterBuilder() + .appendPattern("[dd/MM/yyyy]" + "[yyyy/MM/dd]" + "[yyyy-MM-dd]" + "[dd-MM-yyyy]") + .optionalStart() + .appendPattern("[ HH:mm]" + "[ HH]") + .parseDefaulting(ChronoField.HOUR_OF_DAY, 0) + .parseDefaulting(ChronoField.MINUTE_OF_HOUR, 0) + .optionalEnd() + .toFormatter(); + + try { + this.date = LocalDateTime.parse(date, formatter); + } catch (DateTimeParseException e) { + this.date = null; + } + + if (this.date == null) { + throw new DateException("Sorry! The date is not in the correct format! :'("); + } + } + + public LocalDateTime getDateTime() { + return this.date; + } + +} diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java index ebd17e263f..b41cb87f30 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/Deadline.java @@ -1,18 +1,28 @@ +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; + public class Deadline extends Task { - protected String by; - public Deadline(String description, String by) { + protected LocalDateTime by; + public Deadline(String description, String by) throws DateException { super(description); - this.by = by; + DateTimeParser dateTimeParser = new DateTimeParser(by); + + this.by = dateTimeParser.getDateTime(); + } @Override public String toDataString() { - return "D:" + super.toDataString() + ":" + this.by; + return "D:" + super.toDataString() + ":" + this.by.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); + } + + private String formatDateTime(LocalDateTime date) { + return date.format(DateTimeFormatter.ofPattern("MMM d yyyy hh:mm a")); } @Override public String toString() { - return "[D]" + super.toString() + " (by: " + this.by + ")"; + return "[D]" + super.toString() + " (by: " + formatDateTime(this.by) + ")"; } } diff --git a/src/main/java/Event.java b/src/main/java/Event.java index 0da78408e5..5452db7798 100644 --- a/src/main/java/Event.java +++ b/src/main/java/Event.java @@ -1,21 +1,33 @@ +import java.time.LocalDateTime; +import java.time.format.DateTimeFormatter; + public class Event extends Task{ - protected String from; - protected String to; + protected LocalDateTime from; + protected LocalDateTime to; - public Event(String description, String from, String to) { + public Event(String description, String from, String to) throws DateException { super(description); - this.from = from; - this.to = to; + DateTimeParser dateTimeParserFrom = new DateTimeParser(from); + DateTimeParser dateTimeParserTo = new DateTimeParser(to); + + this.from = dateTimeParserFrom.getDateTime(); + this.to = dateTimeParserTo.getDateTime(); } @Override public String toDataString() { - return "E:" + super.toDataString() + ":" + this.from + ":" + this.to; + return "E:" + super.toDataString() + ":" + this.from.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) + + ":" + this.to.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); + } + + private String formatDateTime(LocalDateTime date) { + return date.format(DateTimeFormatter.ofPattern("MMM d yyyy hh:mm a")); } @Override public String toString() { - return "[E]" + super.toString() + " (from: " + this.from + " to: " + this.to + ")"; + return "[E]" + super.toString() + " (from: " + formatDateTime(this.from) + + " to: " + formatDateTime(this.to) + ")"; } } diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 6cd768225d..2e425a5a67 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -2,6 +2,7 @@ import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; +import java.util.Date; import java.util.Scanner; public class Luke { @@ -228,6 +229,12 @@ public static void main(String[] args) throws LukeException { System.out.println("Sorry! There was an error editing the file! :'("); e.printStackTrace(); System.out.println("________________________________________________________________________"); + } catch (DateException e) { + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("Please enter the date in proper format such as dd/MM/yyyy or yyyy-MM-dd"); + System.out.println("You can also enter the time in 24-hour format such as HH[:MM] after the date"); + System.out.println("________________________________________________________________________"); } } input = sc.nextLine(); diff --git a/src/main/java/LukeIO.java b/src/main/java/LukeIO.java index 36ed058bbd..5c9b1c9dde 100644 --- a/src/main/java/LukeIO.java +++ b/src/main/java/LukeIO.java @@ -58,11 +58,17 @@ public ArrayList readTask() throws FileException { } } catch (FileNotFoundException e) { - // create new file - + throw new FileException("Sorry! File not found! :'("); } catch (ArrayIndexOutOfBoundsException e) { - throw new FileException("Sorry! File is corrupted! :'("); + throw new FileException("Sorry! File is corrupted! :'(\nWill not be able to read tasks from file! :'("); + + } catch (DateException e) { + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("Please enter the date in proper format such as dd/MM/yyyy or yyyy-MM-dd"); + System.out.println("________________________________________________________________________"); + } return tasks; From 10347a17d93531ed5bd67579173f055220753aa2 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 03:32:30 +0800 Subject: [PATCH 14/32] A-MoreOOP: Use More OOP --- src/main/java/Deadline.java | 2 +- src/main/java/Event.java | 4 +- src/main/java/Luke.java | 257 +++----------------- src/main/java/Parser.java | 170 +++++++++++++ src/main/java/{LukeIO.java => Storage.java} | 24 +- src/main/java/Task.java | 2 +- src/main/java/TaskList.java | 42 ++++ src/main/java/Todo.java | 2 +- src/main/java/Ui.java | 90 +++++++ 9 files changed, 348 insertions(+), 245 deletions(-) create mode 100644 src/main/java/Parser.java rename src/main/java/{LukeIO.java => Storage.java} (77%) create mode 100644 src/main/java/TaskList.java create mode 100644 src/main/java/Ui.java diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java index b41cb87f30..dcb157917e 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/Deadline.java @@ -13,7 +13,7 @@ public Deadline(String description, String by) throws DateException { @Override public String toDataString() { - return "D:" + super.toDataString() + ":" + this.by.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); + return "D|" + super.toDataString() + "|" + this.by.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } private String formatDateTime(LocalDateTime date) { diff --git a/src/main/java/Event.java b/src/main/java/Event.java index 5452db7798..1d22b81813 100644 --- a/src/main/java/Event.java +++ b/src/main/java/Event.java @@ -16,8 +16,8 @@ public Event(String description, String from, String to) throws DateException { @Override public String toDataString() { - return "E:" + super.toDataString() + ":" + this.from.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) - + ":" + this.to.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); + return "E|" + super.toDataString() + "|" + this.from.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) + + "|" + this.to.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } private String formatDateTime(LocalDateTime date) { diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 2e425a5a67..f89a894d32 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -1,250 +1,51 @@ -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; import java.util.ArrayList; -import java.util.Date; import java.util.Scanner; public class Luke { + private Storage storage; + private Ui ui; + private TaskList tasks; private static final String FILE_PATH = "./src/main/data/luke.txt"; - public static void main(String[] args) throws LukeException { - ArrayList list = new ArrayList<>(); - LukeIO lukeIO = new LukeIO(FILE_PATH); - + public Luke(String filePath) { + ui = new Ui(); + storage = new Storage(filePath); try { - list = lukeIO.readTask(); + tasks = new TaskList(storage.readTask()); } catch (FileException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("________________________________________________________________________"); + ui.getErrorMessage(e.getMessage()); + tasks = new TaskList(); } - // Greetings - System.out.println("________________________________________________________________________"); - System.out.println("Hello! I'm Luke"); - System.out.println("What can I do for you?"); - System.out.println("________________________________________________________________________"); + } - // User inputs - Scanner sc = new Scanner(System.in); - String input = sc.nextLine(); + public void run() { + // Greetings + ui.welcome(); + boolean isExit = false; + Parser parser = new Parser(""); // Conditions - while (!input.equals("bye")) { - if (input.equals("list")) { - System.out.println("________________________________________________________________________"); - System.out.println("Here are the tasks in your list:"); - - for (int i = 0; i < list.size(); i++) { - if (list.get(i) != null) { - System.out.println(i + 1 + "." + list.get(i)); - - } - } - System.out.println("________________________________________________________________________"); - - } else if (input.contains("mark")) { - try { - if (input.equals("mark") || input.equals("unmark")) { - throw new LukeException("Hold up!! There must be a task to " + input + "!\n" - + "Please enter an index after " + input + "."); - } - - try { - String[] instruction = input.split(" "); - String markOrUnmark = instruction[0]; - - if (!markOrUnmark.equals("mark") && !markOrUnmark.equals("unmark")) { - System.out.println("test"); - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed - - if (index >= list.size()) { - throw new LukeException("Hold up!! There is no such task in the list.\n" - + "Please enter a valid index after " + input.split(" ")[0] + "."); - } - - if (markOrUnmark.equals("mark")) { - list.get(index).markAsDone(); - System.out.println("________________________________________________________________________"); - System.out.println("Nice! I've marked this task as done:"); - System.out.println(list.get(index)); - System.out.println("________________________________________________________________________"); - - } else if (markOrUnmark.equals("unmark")) { - list.get(index).markAsUndone(); - System.out.println("________________________________________________________________________"); - System.out.println("OK, I've marked this task as not done yet:"); - System.out.println(list.get(index)); - System.out.println("________________________________________________________________________"); - - } else { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - lukeIO.writeTask(list); - - } catch (NumberFormatException | IndexOutOfBoundsException e) { - throw new LukeException("Hold up!! Please enter a valid index after " - + input.split(" ")[0] + "."); - } catch (FileException e) { - System.out.println("________________________________________________________________________"); - System.out.println("Sorry! There was an error editing the file! :'("); - e.printStackTrace(); - System.out.println("________________________________________________________________________"); - } - - - } catch (LukeException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("________________________________________________________________________"); - } - - } else if (input.contains("delete")) { - try { - if (input.equals("delete")) { - throw new LukeException("Hold up!! There must be a task to delete!\n" - + "Please enter an index after " + input + "."); - } - - try { - String[] instruction = input.split(" "); - String delete = instruction[0]; - - if (!delete.equals("delete")) { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed - - if (index >= list.size()) { - throw new LukeException("Hold up!! There is no such task in the list.\n" - + "Please enter a valid index after delete."); - } - - Task removedTask = list.get(index); - list.remove(index); - System.out.println("________________________________________________________________________"); - System.out.println("Noted. I've removed this task:"); - System.out.println(removedTask); - - lukeIO.writeTask(list); - - if (list.size() <= 1) { - System.out.println("Now you have " + list.size() + " task in the list."); - } else { - System.out.println("Now you have " + list.size() + " tasks in the list."); - } - System.out.println("________________________________________________________________________"); - } catch (NumberFormatException | IndexOutOfBoundsException e) { - throw new LukeException("Hold up!! Please enter a valid index after delete."); - } catch (FileException e) { - System.out.println("________________________________________________________________________"); - System.out.println("Sorry! There was an error editing the file! :'("); - e.printStackTrace(); - System.out.println("________________________________________________________________________"); - } - - } catch (LukeException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("________________________________________________________________________"); - } - - } else { - try { - if (input.equals("todo") || input.equals("deadline") || input.equals("event")) { - throw new LukeException("Hold up!! The description of a " + input + " cannot be empty.\n" - + "Please enter a description after your " + input + "."); - } - - String[] instruction = input.split(" "); - String type = instruction[0]; - - if (type.equals("todo")) { - // 5 is the index after "todo ", so starts from index 5 - String description = input.substring(5); - list.add(new Todo(description)); - - } else if (type.equals("deadline")) { - try { - // 9 is the index after "deadline ", so starts from index 9 - // -1 to remove the space before "/by" - String description = input.substring(9, input.indexOf("/by") - 1); - // +4 to remove the "/by " and start from the index after "/by " - String by = input.substring(input.indexOf("/by") + 4); - list.add(new Deadline(description, by)); - - } catch (StringIndexOutOfBoundsException e) { - throw new TaskException("Hold up!! The description of a deadline cannot be empty.\n" - + "Please follow this format: deadline /by ."); - } - - } else if (type.equals("event")) { - try { - // 6 is the index after "event ", so starts from index 6 - // -1 to remove the space before "/from" - String description = input.substring(6, input.indexOf("/from") - 1); - // +6 to remove the "/from " and start from the index after "/from " - // -1 to remove the space before "/to" - String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); - // +4 to remove the "/to " and start from the index after "/to " - String to = input.substring(input.indexOf("/to") + 4); - list.add(new Event(description, from, to)); - } catch (StringIndexOutOfBoundsException e) { - throw new TaskException("Hold up!! The description of an event cannot be empty.\n" - + "Please follow this format: event " - + "/from /to ."); - - } - - } else { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - - } - - lukeIO.writeTask(list); - - System.out.println("________________________________________________________________________"); - System.out.println("Got it. I've added this task:"); - System.out.println(" " + list.get(list.size() - 1)); - if (list.size() <= 1) { - System.out.println("Now you have " + list.size() + " task in the list."); - } else { - System.out.println("Now you have " + list.size() + " tasks in the list."); - } - System.out.println("________________________________________________________________________"); - } catch (LukeException | TaskException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("________________________________________________________________________"); - } catch (FileException e) { - System.out.println("________________________________________________________________________"); - System.out.println("Sorry! There was an error editing the file! :'("); - e.printStackTrace(); - System.out.println("________________________________________________________________________"); - } catch (DateException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("Please enter the date in proper format such as dd/MM/yyyy or yyyy-MM-dd"); - System.out.println("You can also enter the time in 24-hour format such as HH[:MM] after the date"); - System.out.println("________________________________________________________________________"); - } - } - input = sc.nextLine(); + while (!isExit) { + String inputString = ui.readCommand(); + parser.setInput(inputString); + parser.parse(tasks, ui, storage); + isExit = parser.isExit(); } // Bye and exits - System.out.println("________________________________________________________________________"); - System.out.println("Bye! Hope to see you again soon!"); - System.out.println("________________________________________________________________________"); + ui.goodbye(); + } + + public static void main(String[] args) throws LukeException { + new Luke(FILE_PATH).run(); + ArrayList list = new ArrayList<>(); + Ui ui = new Ui(); + Storage storage = new Storage(FILE_PATH); + } } diff --git a/src/main/java/Parser.java b/src/main/java/Parser.java new file mode 100644 index 0000000000..60262a0ce3 --- /dev/null +++ b/src/main/java/Parser.java @@ -0,0 +1,170 @@ +import java.util.ArrayList; + +public class Parser { + private String input; + private Ui ui; + private Storage storage; + public Parser(String input) { + this.input = input; + + } + + public void parse(TaskList list, Ui ui, Storage storage) { + if (isExit()) { + return; + } else if (this.input.equals("list")) { + ui.printList(list); + } else if (this.input.contains("mark")) { + try { + if (input.equals("mark") || input.equals("unmark")) { + throw new LukeException("Hold up!! There must be a task to " + input + "!\n" + + "Please enter an index after " + input + "."); + } + + try { + String[] instruction = input.split(" "); + String markOrUnmark = instruction[0]; + + if (!markOrUnmark.equals("mark") && !markOrUnmark.equals("unmark")) { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (index >= list.size()) { + throw new LukeException("Hold up!! There is no such task in the list.\n" + + "Please enter a valid index after " + input.split(" ")[0] + "."); + } + + if (markOrUnmark.equals("mark")) { + list.get(index).markAsDone(); + ui.printTaskMarked(list.get(index)); + + } else if (markOrUnmark.equals("unmark")) { + list.get(index).markAsUndone(); + ui.printTaskMarked(list.get(index)); + + } else { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + storage.writeTask(list); + + } catch (NumberFormatException | IndexOutOfBoundsException e) { + throw new LukeException("Hold up!! Please enter a valid index after " + + input.split(" ")[0] + "."); + } catch (FileException e) { + ui.getErrorMessage(e.getMessage()); + } + + } catch (LukeException e) { + ui.getErrorMessage(e.getMessage()); + } + } else if (input.contains("delete")) { + try { + if (input.equals("delete")) { + throw new LukeException("Hold up!! There must be a task to delete!\n" + + "Please enter an index after " + input + "."); + } + + try { + String[] instruction = input.split(" "); + String delete = instruction[0]; + + if (!delete.equals("delete")) { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (index >= list.size()) { + throw new LukeException("Hold up!! There is no such task in the list.\n" + + "Please enter a valid index after delete."); + } + + Task removedTask = list.get(index); + list.remove(index); + ui.printTaskDeleted(removedTask, list.size()); + + storage.writeTask(list); + + } catch (NumberFormatException | IndexOutOfBoundsException e) { + throw new LukeException("Hold up!! Please enter a valid index after delete."); + } catch (FileException e) { + ui.getErrorMessage(e.getMessage()); + } + + } catch (LukeException e) { + ui.getErrorMessage(e.getMessage()); + } + + } else { + try { + if (input.equals("todo") || input.equals("deadline") || input.equals("event")) { + throw new LukeException("Hold up!! The description of a " + input + " cannot be empty.\n" + + "Please enter a description after your " + input + "."); + } + + String[] instruction = input.split(" "); + String type = instruction[0]; + + if (type.equals("todo")) { + // 5 is the index after "todo ", so starts from index 5 + String description = input.substring(5); + list.add(new Todo(description)); + + } else if (type.equals("deadline")) { + try { + // 9 is the index after "deadline ", so starts from index 9 + // -1 to remove the space before "/by" + String description = input.substring(9, input.indexOf("/by") - 1); + // +4 to remove the "/by " and start from the index after "/by " + String by = input.substring(input.indexOf("/by") + 4); + list.add(new Deadline(description, by)); + + } catch (StringIndexOutOfBoundsException e) { + throw new TaskException("Hold up!! The description of a deadline cannot be empty.\n" + + "Please follow this format: deadline /by ."); + } + + } else if (type.equals("event")) { + try { + // 6 is the index after "event ", so starts from index 6 + // -1 to remove the space before "/from" + String description = input.substring(6, input.indexOf("/from") - 1); + // +6 to remove the "/from " and start from the index after "/from " + // -1 to remove the space before "/to" + String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); + // +4 to remove the "/to " and start from the index after "/to " + String to = input.substring(input.indexOf("/to") + 4); + list.add(new Event(description, from, to)); + } catch (StringIndexOutOfBoundsException e) { + throw new TaskException("Hold up!! The description of an event cannot be empty.\n" + + "Please follow this format: event " + + "/from /to ."); + } + } else { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + + } + storage.writeTask(list); + ui.printTaskAdded(list.get(list.size() - 1), list.size()); + + } catch (LukeException | TaskException | FileException e) { + ui.getErrorMessage(e.getMessage()); + } catch (DateException e) { + ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as dd/MM/yyyy or" + + " yyyy-MM-dd\nYou can also enter the time in 24-hour format such as HH[:MM] " + + "after the date"); + } + } + } + + public void setInput(String input) { + this.input = input; + } + + public boolean isExit() { + return input.equals("bye"); + } +} diff --git a/src/main/java/LukeIO.java b/src/main/java/Storage.java similarity index 77% rename from src/main/java/LukeIO.java rename to src/main/java/Storage.java index 5c9b1c9dde..ec9ebbc78b 100644 --- a/src/main/java/LukeIO.java +++ b/src/main/java/Storage.java @@ -5,9 +5,10 @@ import java.util.ArrayList; import java.util.Scanner; -public class LukeIO { +public class Storage { private File file; - public LukeIO(String path) { + private Ui ui; + public Storage(String path) { this.file = new File(path); if (!this.file.exists()) { @@ -19,6 +20,7 @@ public LukeIO(String path) { e.printStackTrace(); } } + this.ui = new Ui(); } public ArrayList readTask() throws FileException { @@ -27,11 +29,12 @@ public ArrayList readTask() throws FileException { try (Scanner sc = new Scanner(this.file)) { while (sc.hasNextLine()) { String line = sc.nextLine(); - String[] parts = line.split(":"); + String[] parts = line.split("\\|"); String type = parts[0]; String markOrUnmark = parts[1]; String description = parts[2]; + if (type.equals("T")) { Task task = new Todo(description); if (markOrUnmark.equals("X")) { @@ -64,25 +67,22 @@ public ArrayList readTask() throws FileException { throw new FileException("Sorry! File is corrupted! :'(\nWill not be able to read tasks from file! :'("); } catch (DateException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("Please enter the date in proper format such as dd/MM/yyyy or yyyy-MM-dd"); - System.out.println("________________________________________________________________________"); + ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as dd/MM/yyyy or " + + "yyyy-MM-dd\nYou can also enter the time in 24-hour format such as HH[:mm] after the date"); } return tasks; } - public void writeTask(ArrayList tasks) throws FileException { + public void writeTask(TaskList tasks) throws FileException { try (FileWriter fw = new FileWriter(this.file, false)) { - for (Task task : tasks) { - fw.write(task.toDataString() + "\n"); + for (int i = 0; i < tasks.size(); i++) { + fw.write(tasks.get(i).toDataString() + "\n"); } - } catch (IOException e) { - throw new FileException("Sorry! File not found! :'("); + throw new FileException("Sorry! There was an error editing the file! :'("); } diff --git a/src/main/java/Task.java b/src/main/java/Task.java index ddfb2d6479..695e50a45e 100644 --- a/src/main/java/Task.java +++ b/src/main/java/Task.java @@ -21,7 +21,7 @@ public void markAsUndone() { } public String toDataString() { - return (this.isDone ? "X" : "O") + ":" + this.description; + return (this.isDone ? "X" : "O") + "|" + this.description; } @Override diff --git a/src/main/java/TaskList.java b/src/main/java/TaskList.java new file mode 100644 index 0000000000..c75b43beeb --- /dev/null +++ b/src/main/java/TaskList.java @@ -0,0 +1,42 @@ +import java.util.ArrayList; + +public class TaskList { + private ArrayList list; + public TaskList() { + list = new ArrayList<>(); + + } + + public TaskList(ArrayList list) { + this.list = list; + } + + public void add(Task task) { + list.add(task); + } + + public void remove(int index) { + list.remove(index); + } + + public int size() { + return list.size(); + } + + public Task get(int index) { + return list.get(index); + } + + public ArrayList getList() { + return list; + } + + public void markTask(int index) { + list.get(index).markAsDone(); + } + + public void unmarkTask(int index) { + list.get(index).markAsUndone(); + } + +} diff --git a/src/main/java/Todo.java b/src/main/java/Todo.java index 4b05b61945..7d0885d769 100644 --- a/src/main/java/Todo.java +++ b/src/main/java/Todo.java @@ -5,7 +5,7 @@ public Todo(String description) { @Override public String toDataString() { - return "T:" + super.toDataString(); + return "T|" + super.toDataString(); } @Override diff --git a/src/main/java/Ui.java b/src/main/java/Ui.java new file mode 100644 index 0000000000..41579bfb2f --- /dev/null +++ b/src/main/java/Ui.java @@ -0,0 +1,90 @@ +import java.util.ArrayList; +import java.util.Scanner; + +public class Ui { + Scanner sc; + public Ui() { + sc = new Scanner(System.in); + + } + public void welcome() { + System.out.println("________________________________________________________________________"); + System.out.println("Hello! I'm Luke"); + System.out.println("What can I do for you?"); + System.out.println("________________________________________________________________________"); + + } + + public void goodbye() { + System.out.println("________________________________________________________________________"); + System.out.println("Bye! Hope to see you again soon!"); + System.out.println("________________________________________________________________________"); + } + + public void getErrorMessage(String message) { + System.out.println("________________________________________________________________________"); + System.out.println(message); + System.out.println("________________________________________________________________________"); + } + + public void printList(TaskList tasks) { + System.out.println("________________________________________________________________________"); + System.out.println("Here are the tasks in your list:"); + + for (int i = 0; i < tasks.size(); i++) { + if (tasks.get(i) != null) { + System.out.println(i + 1 + "." + tasks.get(i)); + + } + } + System.out.println("________________________________________________________________________"); + } + + public void printTaskMarked(Task task) { + String status = ""; + if (task.isDone) { + status = "done:"; + } else { + status = "not done yet:"; + } + System.out.println("________________________________________________________________________"); + System.out.println("Nice! I've marked this task as " + status); + System.out.println(task); + System.out.println("________________________________________________________________________"); + } + + public void printTaskAdded(Task task, int size) { + String taskStringType = ""; + if (size > 1) { + taskStringType = "tasks"; + } else { + taskStringType = "task"; + } + + System.out.println("________________________________________________________________________"); + System.out.println("Got it! I've added this task:"); + System.out.println(task); + System.out.println("Now you have " + size + " " + taskStringType + " in the list."); + System.out.println("________________________________________________________________________"); + } + + public void printTaskDeleted(Task task, int size) { + String taskStringType = ""; + if (size > 1) { + taskStringType = "tasks"; + } else { + taskStringType = "task"; + } + + System.out.println("________________________________________________________________________"); + System.out.println("Noted! I've removed this task:"); + System.out.println(task); + System.out.println("Now you have " + size + " " + taskStringType + " in the list."); + System.out.println("________________________________________________________________________"); + } + + public String readCommand() { + return sc.nextLine().trim(); + + } +} From 5857864f5952807ac6785b34b5ff6b66a164ed50 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 03:34:49 +0800 Subject: [PATCH 15/32] Revert "A-MoreOOP: Use More OOP" This reverts commit 10347a17d93531ed5bd67579173f055220753aa2. --- src/main/java/Deadline.java | 2 +- src/main/java/Event.java | 4 +- src/main/java/Luke.java | 257 +++++++++++++++++--- src/main/java/{Storage.java => LukeIO.java} | 24 +- src/main/java/Parser.java | 170 ------------- src/main/java/Task.java | 2 +- src/main/java/TaskList.java | 42 ---- src/main/java/Todo.java | 2 +- src/main/java/Ui.java | 90 ------- 9 files changed, 245 insertions(+), 348 deletions(-) rename src/main/java/{Storage.java => LukeIO.java} (77%) delete mode 100644 src/main/java/Parser.java delete mode 100644 src/main/java/TaskList.java delete mode 100644 src/main/java/Ui.java diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java index dcb157917e..b41cb87f30 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/Deadline.java @@ -13,7 +13,7 @@ public Deadline(String description, String by) throws DateException { @Override public String toDataString() { - return "D|" + super.toDataString() + "|" + this.by.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); + return "D:" + super.toDataString() + ":" + this.by.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } private String formatDateTime(LocalDateTime date) { diff --git a/src/main/java/Event.java b/src/main/java/Event.java index 1d22b81813..5452db7798 100644 --- a/src/main/java/Event.java +++ b/src/main/java/Event.java @@ -16,8 +16,8 @@ public Event(String description, String from, String to) throws DateException { @Override public String toDataString() { - return "E|" + super.toDataString() + "|" + this.from.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) - + "|" + this.to.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); + return "E:" + super.toDataString() + ":" + this.from.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) + + ":" + this.to.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } private String formatDateTime(LocalDateTime date) { diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index f89a894d32..2e425a5a67 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -1,51 +1,250 @@ +import java.io.File; +import java.io.FileWriter; +import java.io.IOException; import java.util.ArrayList; +import java.util.Date; import java.util.Scanner; public class Luke { - private Storage storage; - private Ui ui; - private TaskList tasks; private static final String FILE_PATH = "./src/main/data/luke.txt"; - public Luke(String filePath) { - ui = new Ui(); - storage = new Storage(filePath); + public static void main(String[] args) throws LukeException { + ArrayList list = new ArrayList<>(); + LukeIO lukeIO = new LukeIO(FILE_PATH); + try { - tasks = new TaskList(storage.readTask()); + list = lukeIO.readTask(); } catch (FileException e) { - ui.getErrorMessage(e.getMessage()); - tasks = new TaskList(); + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("________________________________________________________________________"); } - } - - public void run() { // Greetings - ui.welcome(); + System.out.println("________________________________________________________________________"); + System.out.println("Hello! I'm Luke"); + System.out.println("What can I do for you?"); + System.out.println("________________________________________________________________________"); + + // User inputs + Scanner sc = new Scanner(System.in); + String input = sc.nextLine(); - boolean isExit = false; - Parser parser = new Parser(""); // Conditions - while (!isExit) { - String inputString = ui.readCommand(); - parser.setInput(inputString); - parser.parse(tasks, ui, storage); - isExit = parser.isExit(); + while (!input.equals("bye")) { + if (input.equals("list")) { + System.out.println("________________________________________________________________________"); + System.out.println("Here are the tasks in your list:"); - } + for (int i = 0; i < list.size(); i++) { + if (list.get(i) != null) { + System.out.println(i + 1 + "." + list.get(i)); - // Bye and exits - ui.goodbye(); - } + } + } + System.out.println("________________________________________________________________________"); - public static void main(String[] args) throws LukeException { - new Luke(FILE_PATH).run(); - ArrayList list = new ArrayList<>(); - Ui ui = new Ui(); - Storage storage = new Storage(FILE_PATH); + } else if (input.contains("mark")) { + try { + if (input.equals("mark") || input.equals("unmark")) { + throw new LukeException("Hold up!! There must be a task to " + input + "!\n" + + "Please enter an index after " + input + "."); + } + + try { + String[] instruction = input.split(" "); + String markOrUnmark = instruction[0]; + + if (!markOrUnmark.equals("mark") && !markOrUnmark.equals("unmark")) { + System.out.println("test"); + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (index >= list.size()) { + throw new LukeException("Hold up!! There is no such task in the list.\n" + + "Please enter a valid index after " + input.split(" ")[0] + "."); + } + + if (markOrUnmark.equals("mark")) { + list.get(index).markAsDone(); + System.out.println("________________________________________________________________________"); + System.out.println("Nice! I've marked this task as done:"); + System.out.println(list.get(index)); + System.out.println("________________________________________________________________________"); + + } else if (markOrUnmark.equals("unmark")) { + list.get(index).markAsUndone(); + System.out.println("________________________________________________________________________"); + System.out.println("OK, I've marked this task as not done yet:"); + System.out.println(list.get(index)); + System.out.println("________________________________________________________________________"); + + } else { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + lukeIO.writeTask(list); + + } catch (NumberFormatException | IndexOutOfBoundsException e) { + throw new LukeException("Hold up!! Please enter a valid index after " + + input.split(" ")[0] + "."); + } catch (FileException e) { + System.out.println("________________________________________________________________________"); + System.out.println("Sorry! There was an error editing the file! :'("); + e.printStackTrace(); + System.out.println("________________________________________________________________________"); + } + + + } catch (LukeException e) { + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("________________________________________________________________________"); + } + + } else if (input.contains("delete")) { + try { + if (input.equals("delete")) { + throw new LukeException("Hold up!! There must be a task to delete!\n" + + "Please enter an index after " + input + "."); + } + try { + String[] instruction = input.split(" "); + String delete = instruction[0]; + + if (!delete.equals("delete")) { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (index >= list.size()) { + throw new LukeException("Hold up!! There is no such task in the list.\n" + + "Please enter a valid index after delete."); + } + + Task removedTask = list.get(index); + list.remove(index); + System.out.println("________________________________________________________________________"); + System.out.println("Noted. I've removed this task:"); + System.out.println(removedTask); + + lukeIO.writeTask(list); + + if (list.size() <= 1) { + System.out.println("Now you have " + list.size() + " task in the list."); + } else { + System.out.println("Now you have " + list.size() + " tasks in the list."); + } + System.out.println("________________________________________________________________________"); + } catch (NumberFormatException | IndexOutOfBoundsException e) { + throw new LukeException("Hold up!! Please enter a valid index after delete."); + } catch (FileException e) { + System.out.println("________________________________________________________________________"); + System.out.println("Sorry! There was an error editing the file! :'("); + e.printStackTrace(); + System.out.println("________________________________________________________________________"); + } + + } catch (LukeException e) { + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("________________________________________________________________________"); + } + + } else { + try { + if (input.equals("todo") || input.equals("deadline") || input.equals("event")) { + throw new LukeException("Hold up!! The description of a " + input + " cannot be empty.\n" + + "Please enter a description after your " + input + "."); + } + + String[] instruction = input.split(" "); + String type = instruction[0]; + + if (type.equals("todo")) { + // 5 is the index after "todo ", so starts from index 5 + String description = input.substring(5); + list.add(new Todo(description)); + + } else if (type.equals("deadline")) { + try { + // 9 is the index after "deadline ", so starts from index 9 + // -1 to remove the space before "/by" + String description = input.substring(9, input.indexOf("/by") - 1); + // +4 to remove the "/by " and start from the index after "/by " + String by = input.substring(input.indexOf("/by") + 4); + list.add(new Deadline(description, by)); + + } catch (StringIndexOutOfBoundsException e) { + throw new TaskException("Hold up!! The description of a deadline cannot be empty.\n" + + "Please follow this format: deadline /by ."); + } + + } else if (type.equals("event")) { + try { + // 6 is the index after "event ", so starts from index 6 + // -1 to remove the space before "/from" + String description = input.substring(6, input.indexOf("/from") - 1); + // +6 to remove the "/from " and start from the index after "/from " + // -1 to remove the space before "/to" + String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); + // +4 to remove the "/to " and start from the index after "/to " + String to = input.substring(input.indexOf("/to") + 4); + list.add(new Event(description, from, to)); + } catch (StringIndexOutOfBoundsException e) { + throw new TaskException("Hold up!! The description of an event cannot be empty.\n" + + "Please follow this format: event " + + "/from /to ."); + + } + + } else { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + + } + + lukeIO.writeTask(list); + + System.out.println("________________________________________________________________________"); + System.out.println("Got it. I've added this task:"); + System.out.println(" " + list.get(list.size() - 1)); + if (list.size() <= 1) { + System.out.println("Now you have " + list.size() + " task in the list."); + } else { + System.out.println("Now you have " + list.size() + " tasks in the list."); + } + System.out.println("________________________________________________________________________"); + } catch (LukeException | TaskException e) { + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("________________________________________________________________________"); + } catch (FileException e) { + System.out.println("________________________________________________________________________"); + System.out.println("Sorry! There was an error editing the file! :'("); + e.printStackTrace(); + System.out.println("________________________________________________________________________"); + } catch (DateException e) { + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("Please enter the date in proper format such as dd/MM/yyyy or yyyy-MM-dd"); + System.out.println("You can also enter the time in 24-hour format such as HH[:MM] after the date"); + System.out.println("________________________________________________________________________"); + } + } + input = sc.nextLine(); + + } + + // Bye and exits + System.out.println("________________________________________________________________________"); + System.out.println("Bye! Hope to see you again soon!"); + System.out.println("________________________________________________________________________"); } } diff --git a/src/main/java/Storage.java b/src/main/java/LukeIO.java similarity index 77% rename from src/main/java/Storage.java rename to src/main/java/LukeIO.java index ec9ebbc78b..5c9b1c9dde 100644 --- a/src/main/java/Storage.java +++ b/src/main/java/LukeIO.java @@ -5,10 +5,9 @@ import java.util.ArrayList; import java.util.Scanner; -public class Storage { +public class LukeIO { private File file; - private Ui ui; - public Storage(String path) { + public LukeIO(String path) { this.file = new File(path); if (!this.file.exists()) { @@ -20,7 +19,6 @@ public Storage(String path) { e.printStackTrace(); } } - this.ui = new Ui(); } public ArrayList readTask() throws FileException { @@ -29,12 +27,11 @@ public ArrayList readTask() throws FileException { try (Scanner sc = new Scanner(this.file)) { while (sc.hasNextLine()) { String line = sc.nextLine(); - String[] parts = line.split("\\|"); + String[] parts = line.split(":"); String type = parts[0]; String markOrUnmark = parts[1]; String description = parts[2]; - if (type.equals("T")) { Task task = new Todo(description); if (markOrUnmark.equals("X")) { @@ -67,22 +64,25 @@ public ArrayList readTask() throws FileException { throw new FileException("Sorry! File is corrupted! :'(\nWill not be able to read tasks from file! :'("); } catch (DateException e) { - ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as dd/MM/yyyy or " + - "yyyy-MM-dd\nYou can also enter the time in 24-hour format such as HH[:mm] after the date"); + System.out.println("________________________________________________________________________"); + System.out.println(e.getMessage()); + System.out.println("Please enter the date in proper format such as dd/MM/yyyy or yyyy-MM-dd"); + System.out.println("________________________________________________________________________"); } return tasks; } - public void writeTask(TaskList tasks) throws FileException { + public void writeTask(ArrayList tasks) throws FileException { try (FileWriter fw = new FileWriter(this.file, false)) { - for (int i = 0; i < tasks.size(); i++) { - fw.write(tasks.get(i).toDataString() + "\n"); + for (Task task : tasks) { + fw.write(task.toDataString() + "\n"); } + } catch (IOException e) { - throw new FileException("Sorry! There was an error editing the file! :'("); + throw new FileException("Sorry! File not found! :'("); } diff --git a/src/main/java/Parser.java b/src/main/java/Parser.java deleted file mode 100644 index 60262a0ce3..0000000000 --- a/src/main/java/Parser.java +++ /dev/null @@ -1,170 +0,0 @@ -import java.util.ArrayList; - -public class Parser { - private String input; - private Ui ui; - private Storage storage; - public Parser(String input) { - this.input = input; - - } - - public void parse(TaskList list, Ui ui, Storage storage) { - if (isExit()) { - return; - } else if (this.input.equals("list")) { - ui.printList(list); - } else if (this.input.contains("mark")) { - try { - if (input.equals("mark") || input.equals("unmark")) { - throw new LukeException("Hold up!! There must be a task to " + input + "!\n" - + "Please enter an index after " + input + "."); - } - - try { - String[] instruction = input.split(" "); - String markOrUnmark = instruction[0]; - - if (!markOrUnmark.equals("mark") && !markOrUnmark.equals("unmark")) { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed - - if (index >= list.size()) { - throw new LukeException("Hold up!! There is no such task in the list.\n" - + "Please enter a valid index after " + input.split(" ")[0] + "."); - } - - if (markOrUnmark.equals("mark")) { - list.get(index).markAsDone(); - ui.printTaskMarked(list.get(index)); - - } else if (markOrUnmark.equals("unmark")) { - list.get(index).markAsUndone(); - ui.printTaskMarked(list.get(index)); - - } else { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - storage.writeTask(list); - - } catch (NumberFormatException | IndexOutOfBoundsException e) { - throw new LukeException("Hold up!! Please enter a valid index after " - + input.split(" ")[0] + "."); - } catch (FileException e) { - ui.getErrorMessage(e.getMessage()); - } - - } catch (LukeException e) { - ui.getErrorMessage(e.getMessage()); - } - } else if (input.contains("delete")) { - try { - if (input.equals("delete")) { - throw new LukeException("Hold up!! There must be a task to delete!\n" - + "Please enter an index after " + input + "."); - } - - try { - String[] instruction = input.split(" "); - String delete = instruction[0]; - - if (!delete.equals("delete")) { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed - - if (index >= list.size()) { - throw new LukeException("Hold up!! There is no such task in the list.\n" - + "Please enter a valid index after delete."); - } - - Task removedTask = list.get(index); - list.remove(index); - ui.printTaskDeleted(removedTask, list.size()); - - storage.writeTask(list); - - } catch (NumberFormatException | IndexOutOfBoundsException e) { - throw new LukeException("Hold up!! Please enter a valid index after delete."); - } catch (FileException e) { - ui.getErrorMessage(e.getMessage()); - } - - } catch (LukeException e) { - ui.getErrorMessage(e.getMessage()); - } - - } else { - try { - if (input.equals("todo") || input.equals("deadline") || input.equals("event")) { - throw new LukeException("Hold up!! The description of a " + input + " cannot be empty.\n" - + "Please enter a description after your " + input + "."); - } - - String[] instruction = input.split(" "); - String type = instruction[0]; - - if (type.equals("todo")) { - // 5 is the index after "todo ", so starts from index 5 - String description = input.substring(5); - list.add(new Todo(description)); - - } else if (type.equals("deadline")) { - try { - // 9 is the index after "deadline ", so starts from index 9 - // -1 to remove the space before "/by" - String description = input.substring(9, input.indexOf("/by") - 1); - // +4 to remove the "/by " and start from the index after "/by " - String by = input.substring(input.indexOf("/by") + 4); - list.add(new Deadline(description, by)); - - } catch (StringIndexOutOfBoundsException e) { - throw new TaskException("Hold up!! The description of a deadline cannot be empty.\n" - + "Please follow this format: deadline /by ."); - } - - } else if (type.equals("event")) { - try { - // 6 is the index after "event ", so starts from index 6 - // -1 to remove the space before "/from" - String description = input.substring(6, input.indexOf("/from") - 1); - // +6 to remove the "/from " and start from the index after "/from " - // -1 to remove the space before "/to" - String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); - // +4 to remove the "/to " and start from the index after "/to " - String to = input.substring(input.indexOf("/to") + 4); - list.add(new Event(description, from, to)); - } catch (StringIndexOutOfBoundsException e) { - throw new TaskException("Hold up!! The description of an event cannot be empty.\n" - + "Please follow this format: event " - + "/from /to ."); - } - } else { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - - } - storage.writeTask(list); - ui.printTaskAdded(list.get(list.size() - 1), list.size()); - - } catch (LukeException | TaskException | FileException e) { - ui.getErrorMessage(e.getMessage()); - } catch (DateException e) { - ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as dd/MM/yyyy or" - + " yyyy-MM-dd\nYou can also enter the time in 24-hour format such as HH[:MM] " + - "after the date"); - } - } - } - - public void setInput(String input) { - this.input = input; - } - - public boolean isExit() { - return input.equals("bye"); - } -} diff --git a/src/main/java/Task.java b/src/main/java/Task.java index 695e50a45e..ddfb2d6479 100644 --- a/src/main/java/Task.java +++ b/src/main/java/Task.java @@ -21,7 +21,7 @@ public void markAsUndone() { } public String toDataString() { - return (this.isDone ? "X" : "O") + "|" + this.description; + return (this.isDone ? "X" : "O") + ":" + this.description; } @Override diff --git a/src/main/java/TaskList.java b/src/main/java/TaskList.java deleted file mode 100644 index c75b43beeb..0000000000 --- a/src/main/java/TaskList.java +++ /dev/null @@ -1,42 +0,0 @@ -import java.util.ArrayList; - -public class TaskList { - private ArrayList list; - public TaskList() { - list = new ArrayList<>(); - - } - - public TaskList(ArrayList list) { - this.list = list; - } - - public void add(Task task) { - list.add(task); - } - - public void remove(int index) { - list.remove(index); - } - - public int size() { - return list.size(); - } - - public Task get(int index) { - return list.get(index); - } - - public ArrayList getList() { - return list; - } - - public void markTask(int index) { - list.get(index).markAsDone(); - } - - public void unmarkTask(int index) { - list.get(index).markAsUndone(); - } - -} diff --git a/src/main/java/Todo.java b/src/main/java/Todo.java index 7d0885d769..4b05b61945 100644 --- a/src/main/java/Todo.java +++ b/src/main/java/Todo.java @@ -5,7 +5,7 @@ public Todo(String description) { @Override public String toDataString() { - return "T|" + super.toDataString(); + return "T:" + super.toDataString(); } @Override diff --git a/src/main/java/Ui.java b/src/main/java/Ui.java deleted file mode 100644 index 41579bfb2f..0000000000 --- a/src/main/java/Ui.java +++ /dev/null @@ -1,90 +0,0 @@ -import java.util.ArrayList; -import java.util.Scanner; - -public class Ui { - Scanner sc; - public Ui() { - sc = new Scanner(System.in); - - } - public void welcome() { - System.out.println("________________________________________________________________________"); - System.out.println("Hello! I'm Luke"); - System.out.println("What can I do for you?"); - System.out.println("________________________________________________________________________"); - - } - - public void goodbye() { - System.out.println("________________________________________________________________________"); - System.out.println("Bye! Hope to see you again soon!"); - System.out.println("________________________________________________________________________"); - } - - public void getErrorMessage(String message) { - System.out.println("________________________________________________________________________"); - System.out.println(message); - System.out.println("________________________________________________________________________"); - } - - public void printList(TaskList tasks) { - System.out.println("________________________________________________________________________"); - System.out.println("Here are the tasks in your list:"); - - for (int i = 0; i < tasks.size(); i++) { - if (tasks.get(i) != null) { - System.out.println(i + 1 + "." + tasks.get(i)); - - } - } - System.out.println("________________________________________________________________________"); - } - - public void printTaskMarked(Task task) { - String status = ""; - if (task.isDone) { - status = "done:"; - } else { - status = "not done yet:"; - } - System.out.println("________________________________________________________________________"); - System.out.println("Nice! I've marked this task as " + status); - System.out.println(task); - System.out.println("________________________________________________________________________"); - } - - public void printTaskAdded(Task task, int size) { - String taskStringType = ""; - if (size > 1) { - taskStringType = "tasks"; - } else { - taskStringType = "task"; - } - - System.out.println("________________________________________________________________________"); - System.out.println("Got it! I've added this task:"); - System.out.println(task); - System.out.println("Now you have " + size + " " + taskStringType + " in the list."); - System.out.println("________________________________________________________________________"); - } - - public void printTaskDeleted(Task task, int size) { - String taskStringType = ""; - if (size > 1) { - taskStringType = "tasks"; - } else { - taskStringType = "task"; - } - - System.out.println("________________________________________________________________________"); - System.out.println("Noted! I've removed this task:"); - System.out.println(task); - System.out.println("Now you have " + size + " " + taskStringType + " in the list."); - System.out.println("________________________________________________________________________"); - } - - public String readCommand() { - return sc.nextLine().trim(); - - } -} From e0953588f3ac13cbc6af97b5358b0defa96bb7a7 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 03:36:07 +0800 Subject: [PATCH 16/32] Revert "Revert "A-MoreOOP: Use More OOP"" This reverts commit 5857864f5952807ac6785b34b5ff6b66a164ed50. --- src/main/java/Deadline.java | 2 +- src/main/java/Event.java | 4 +- src/main/java/Luke.java | 257 +++----------------- src/main/java/Parser.java | 170 +++++++++++++ src/main/java/{LukeIO.java => Storage.java} | 24 +- src/main/java/Task.java | 2 +- src/main/java/TaskList.java | 42 ++++ src/main/java/Todo.java | 2 +- src/main/java/Ui.java | 90 +++++++ 9 files changed, 348 insertions(+), 245 deletions(-) create mode 100644 src/main/java/Parser.java rename src/main/java/{LukeIO.java => Storage.java} (77%) create mode 100644 src/main/java/TaskList.java create mode 100644 src/main/java/Ui.java diff --git a/src/main/java/Deadline.java b/src/main/java/Deadline.java index b41cb87f30..dcb157917e 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/Deadline.java @@ -13,7 +13,7 @@ public Deadline(String description, String by) throws DateException { @Override public String toDataString() { - return "D:" + super.toDataString() + ":" + this.by.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); + return "D|" + super.toDataString() + "|" + this.by.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } private String formatDateTime(LocalDateTime date) { diff --git a/src/main/java/Event.java b/src/main/java/Event.java index 5452db7798..1d22b81813 100644 --- a/src/main/java/Event.java +++ b/src/main/java/Event.java @@ -16,8 +16,8 @@ public Event(String description, String from, String to) throws DateException { @Override public String toDataString() { - return "E:" + super.toDataString() + ":" + this.from.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) - + ":" + this.to.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); + return "E|" + super.toDataString() + "|" + this.from.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) + + "|" + this.to.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } private String formatDateTime(LocalDateTime date) { diff --git a/src/main/java/Luke.java b/src/main/java/Luke.java index 2e425a5a67..f89a894d32 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/Luke.java @@ -1,250 +1,51 @@ -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; import java.util.ArrayList; -import java.util.Date; import java.util.Scanner; public class Luke { + private Storage storage; + private Ui ui; + private TaskList tasks; private static final String FILE_PATH = "./src/main/data/luke.txt"; - public static void main(String[] args) throws LukeException { - ArrayList list = new ArrayList<>(); - LukeIO lukeIO = new LukeIO(FILE_PATH); - + public Luke(String filePath) { + ui = new Ui(); + storage = new Storage(filePath); try { - list = lukeIO.readTask(); + tasks = new TaskList(storage.readTask()); } catch (FileException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("________________________________________________________________________"); + ui.getErrorMessage(e.getMessage()); + tasks = new TaskList(); } - // Greetings - System.out.println("________________________________________________________________________"); - System.out.println("Hello! I'm Luke"); - System.out.println("What can I do for you?"); - System.out.println("________________________________________________________________________"); + } - // User inputs - Scanner sc = new Scanner(System.in); - String input = sc.nextLine(); + public void run() { + // Greetings + ui.welcome(); + boolean isExit = false; + Parser parser = new Parser(""); // Conditions - while (!input.equals("bye")) { - if (input.equals("list")) { - System.out.println("________________________________________________________________________"); - System.out.println("Here are the tasks in your list:"); - - for (int i = 0; i < list.size(); i++) { - if (list.get(i) != null) { - System.out.println(i + 1 + "." + list.get(i)); - - } - } - System.out.println("________________________________________________________________________"); - - } else if (input.contains("mark")) { - try { - if (input.equals("mark") || input.equals("unmark")) { - throw new LukeException("Hold up!! There must be a task to " + input + "!\n" - + "Please enter an index after " + input + "."); - } - - try { - String[] instruction = input.split(" "); - String markOrUnmark = instruction[0]; - - if (!markOrUnmark.equals("mark") && !markOrUnmark.equals("unmark")) { - System.out.println("test"); - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed - - if (index >= list.size()) { - throw new LukeException("Hold up!! There is no such task in the list.\n" - + "Please enter a valid index after " + input.split(" ")[0] + "."); - } - - if (markOrUnmark.equals("mark")) { - list.get(index).markAsDone(); - System.out.println("________________________________________________________________________"); - System.out.println("Nice! I've marked this task as done:"); - System.out.println(list.get(index)); - System.out.println("________________________________________________________________________"); - - } else if (markOrUnmark.equals("unmark")) { - list.get(index).markAsUndone(); - System.out.println("________________________________________________________________________"); - System.out.println("OK, I've marked this task as not done yet:"); - System.out.println(list.get(index)); - System.out.println("________________________________________________________________________"); - - } else { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - lukeIO.writeTask(list); - - } catch (NumberFormatException | IndexOutOfBoundsException e) { - throw new LukeException("Hold up!! Please enter a valid index after " - + input.split(" ")[0] + "."); - } catch (FileException e) { - System.out.println("________________________________________________________________________"); - System.out.println("Sorry! There was an error editing the file! :'("); - e.printStackTrace(); - System.out.println("________________________________________________________________________"); - } - - - } catch (LukeException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("________________________________________________________________________"); - } - - } else if (input.contains("delete")) { - try { - if (input.equals("delete")) { - throw new LukeException("Hold up!! There must be a task to delete!\n" - + "Please enter an index after " + input + "."); - } - - try { - String[] instruction = input.split(" "); - String delete = instruction[0]; - - if (!delete.equals("delete")) { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - } - - int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed - - if (index >= list.size()) { - throw new LukeException("Hold up!! There is no such task in the list.\n" - + "Please enter a valid index after delete."); - } - - Task removedTask = list.get(index); - list.remove(index); - System.out.println("________________________________________________________________________"); - System.out.println("Noted. I've removed this task:"); - System.out.println(removedTask); - - lukeIO.writeTask(list); - - if (list.size() <= 1) { - System.out.println("Now you have " + list.size() + " task in the list."); - } else { - System.out.println("Now you have " + list.size() + " tasks in the list."); - } - System.out.println("________________________________________________________________________"); - } catch (NumberFormatException | IndexOutOfBoundsException e) { - throw new LukeException("Hold up!! Please enter a valid index after delete."); - } catch (FileException e) { - System.out.println("________________________________________________________________________"); - System.out.println("Sorry! There was an error editing the file! :'("); - e.printStackTrace(); - System.out.println("________________________________________________________________________"); - } - - } catch (LukeException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("________________________________________________________________________"); - } - - } else { - try { - if (input.equals("todo") || input.equals("deadline") || input.equals("event")) { - throw new LukeException("Hold up!! The description of a " + input + " cannot be empty.\n" - + "Please enter a description after your " + input + "."); - } - - String[] instruction = input.split(" "); - String type = instruction[0]; - - if (type.equals("todo")) { - // 5 is the index after "todo ", so starts from index 5 - String description = input.substring(5); - list.add(new Todo(description)); - - } else if (type.equals("deadline")) { - try { - // 9 is the index after "deadline ", so starts from index 9 - // -1 to remove the space before "/by" - String description = input.substring(9, input.indexOf("/by") - 1); - // +4 to remove the "/by " and start from the index after "/by " - String by = input.substring(input.indexOf("/by") + 4); - list.add(new Deadline(description, by)); - - } catch (StringIndexOutOfBoundsException e) { - throw new TaskException("Hold up!! The description of a deadline cannot be empty.\n" - + "Please follow this format: deadline /by ."); - } - - } else if (type.equals("event")) { - try { - // 6 is the index after "event ", so starts from index 6 - // -1 to remove the space before "/from" - String description = input.substring(6, input.indexOf("/from") - 1); - // +6 to remove the "/from " and start from the index after "/from " - // -1 to remove the space before "/to" - String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); - // +4 to remove the "/to " and start from the index after "/to " - String to = input.substring(input.indexOf("/to") + 4); - list.add(new Event(description, from, to)); - } catch (StringIndexOutOfBoundsException e) { - throw new TaskException("Hold up!! The description of an event cannot be empty.\n" - + "Please follow this format: event " - + "/from /to ."); - - } - - } else { - throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); - - } - - lukeIO.writeTask(list); - - System.out.println("________________________________________________________________________"); - System.out.println("Got it. I've added this task:"); - System.out.println(" " + list.get(list.size() - 1)); - if (list.size() <= 1) { - System.out.println("Now you have " + list.size() + " task in the list."); - } else { - System.out.println("Now you have " + list.size() + " tasks in the list."); - } - System.out.println("________________________________________________________________________"); - } catch (LukeException | TaskException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("________________________________________________________________________"); - } catch (FileException e) { - System.out.println("________________________________________________________________________"); - System.out.println("Sorry! There was an error editing the file! :'("); - e.printStackTrace(); - System.out.println("________________________________________________________________________"); - } catch (DateException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("Please enter the date in proper format such as dd/MM/yyyy or yyyy-MM-dd"); - System.out.println("You can also enter the time in 24-hour format such as HH[:MM] after the date"); - System.out.println("________________________________________________________________________"); - } - } - input = sc.nextLine(); + while (!isExit) { + String inputString = ui.readCommand(); + parser.setInput(inputString); + parser.parse(tasks, ui, storage); + isExit = parser.isExit(); } // Bye and exits - System.out.println("________________________________________________________________________"); - System.out.println("Bye! Hope to see you again soon!"); - System.out.println("________________________________________________________________________"); + ui.goodbye(); + } + + public static void main(String[] args) throws LukeException { + new Luke(FILE_PATH).run(); + ArrayList list = new ArrayList<>(); + Ui ui = new Ui(); + Storage storage = new Storage(FILE_PATH); + } } diff --git a/src/main/java/Parser.java b/src/main/java/Parser.java new file mode 100644 index 0000000000..60262a0ce3 --- /dev/null +++ b/src/main/java/Parser.java @@ -0,0 +1,170 @@ +import java.util.ArrayList; + +public class Parser { + private String input; + private Ui ui; + private Storage storage; + public Parser(String input) { + this.input = input; + + } + + public void parse(TaskList list, Ui ui, Storage storage) { + if (isExit()) { + return; + } else if (this.input.equals("list")) { + ui.printList(list); + } else if (this.input.contains("mark")) { + try { + if (input.equals("mark") || input.equals("unmark")) { + throw new LukeException("Hold up!! There must be a task to " + input + "!\n" + + "Please enter an index after " + input + "."); + } + + try { + String[] instruction = input.split(" "); + String markOrUnmark = instruction[0]; + + if (!markOrUnmark.equals("mark") && !markOrUnmark.equals("unmark")) { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (index >= list.size()) { + throw new LukeException("Hold up!! There is no such task in the list.\n" + + "Please enter a valid index after " + input.split(" ")[0] + "."); + } + + if (markOrUnmark.equals("mark")) { + list.get(index).markAsDone(); + ui.printTaskMarked(list.get(index)); + + } else if (markOrUnmark.equals("unmark")) { + list.get(index).markAsUndone(); + ui.printTaskMarked(list.get(index)); + + } else { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + storage.writeTask(list); + + } catch (NumberFormatException | IndexOutOfBoundsException e) { + throw new LukeException("Hold up!! Please enter a valid index after " + + input.split(" ")[0] + "."); + } catch (FileException e) { + ui.getErrorMessage(e.getMessage()); + } + + } catch (LukeException e) { + ui.getErrorMessage(e.getMessage()); + } + } else if (input.contains("delete")) { + try { + if (input.equals("delete")) { + throw new LukeException("Hold up!! There must be a task to delete!\n" + + "Please enter an index after " + input + "."); + } + + try { + String[] instruction = input.split(" "); + String delete = instruction[0]; + + if (!delete.equals("delete")) { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + } + + int index = Integer.parseInt(instruction[1]) - 1; // array is 0-indexed + + if (index >= list.size()) { + throw new LukeException("Hold up!! There is no such task in the list.\n" + + "Please enter a valid index after delete."); + } + + Task removedTask = list.get(index); + list.remove(index); + ui.printTaskDeleted(removedTask, list.size()); + + storage.writeTask(list); + + } catch (NumberFormatException | IndexOutOfBoundsException e) { + throw new LukeException("Hold up!! Please enter a valid index after delete."); + } catch (FileException e) { + ui.getErrorMessage(e.getMessage()); + } + + } catch (LukeException e) { + ui.getErrorMessage(e.getMessage()); + } + + } else { + try { + if (input.equals("todo") || input.equals("deadline") || input.equals("event")) { + throw new LukeException("Hold up!! The description of a " + input + " cannot be empty.\n" + + "Please enter a description after your " + input + "."); + } + + String[] instruction = input.split(" "); + String type = instruction[0]; + + if (type.equals("todo")) { + // 5 is the index after "todo ", so starts from index 5 + String description = input.substring(5); + list.add(new Todo(description)); + + } else if (type.equals("deadline")) { + try { + // 9 is the index after "deadline ", so starts from index 9 + // -1 to remove the space before "/by" + String description = input.substring(9, input.indexOf("/by") - 1); + // +4 to remove the "/by " and start from the index after "/by " + String by = input.substring(input.indexOf("/by") + 4); + list.add(new Deadline(description, by)); + + } catch (StringIndexOutOfBoundsException e) { + throw new TaskException("Hold up!! The description of a deadline cannot be empty.\n" + + "Please follow this format: deadline /by ."); + } + + } else if (type.equals("event")) { + try { + // 6 is the index after "event ", so starts from index 6 + // -1 to remove the space before "/from" + String description = input.substring(6, input.indexOf("/from") - 1); + // +6 to remove the "/from " and start from the index after "/from " + // -1 to remove the space before "/to" + String from = input.substring(input.indexOf("/from") + 6, input.indexOf("/to") - 1); + // +4 to remove the "/to " and start from the index after "/to " + String to = input.substring(input.indexOf("/to") + 4); + list.add(new Event(description, from, to)); + } catch (StringIndexOutOfBoundsException e) { + throw new TaskException("Hold up!! The description of an event cannot be empty.\n" + + "Please follow this format: event " + + "/from /to ."); + } + } else { + throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); + + } + storage.writeTask(list); + ui.printTaskAdded(list.get(list.size() - 1), list.size()); + + } catch (LukeException | TaskException | FileException e) { + ui.getErrorMessage(e.getMessage()); + } catch (DateException e) { + ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as dd/MM/yyyy or" + + " yyyy-MM-dd\nYou can also enter the time in 24-hour format such as HH[:MM] " + + "after the date"); + } + } + } + + public void setInput(String input) { + this.input = input; + } + + public boolean isExit() { + return input.equals("bye"); + } +} diff --git a/src/main/java/LukeIO.java b/src/main/java/Storage.java similarity index 77% rename from src/main/java/LukeIO.java rename to src/main/java/Storage.java index 5c9b1c9dde..ec9ebbc78b 100644 --- a/src/main/java/LukeIO.java +++ b/src/main/java/Storage.java @@ -5,9 +5,10 @@ import java.util.ArrayList; import java.util.Scanner; -public class LukeIO { +public class Storage { private File file; - public LukeIO(String path) { + private Ui ui; + public Storage(String path) { this.file = new File(path); if (!this.file.exists()) { @@ -19,6 +20,7 @@ public LukeIO(String path) { e.printStackTrace(); } } + this.ui = new Ui(); } public ArrayList readTask() throws FileException { @@ -27,11 +29,12 @@ public ArrayList readTask() throws FileException { try (Scanner sc = new Scanner(this.file)) { while (sc.hasNextLine()) { String line = sc.nextLine(); - String[] parts = line.split(":"); + String[] parts = line.split("\\|"); String type = parts[0]; String markOrUnmark = parts[1]; String description = parts[2]; + if (type.equals("T")) { Task task = new Todo(description); if (markOrUnmark.equals("X")) { @@ -64,25 +67,22 @@ public ArrayList readTask() throws FileException { throw new FileException("Sorry! File is corrupted! :'(\nWill not be able to read tasks from file! :'("); } catch (DateException e) { - System.out.println("________________________________________________________________________"); - System.out.println(e.getMessage()); - System.out.println("Please enter the date in proper format such as dd/MM/yyyy or yyyy-MM-dd"); - System.out.println("________________________________________________________________________"); + ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as dd/MM/yyyy or " + + "yyyy-MM-dd\nYou can also enter the time in 24-hour format such as HH[:mm] after the date"); } return tasks; } - public void writeTask(ArrayList tasks) throws FileException { + public void writeTask(TaskList tasks) throws FileException { try (FileWriter fw = new FileWriter(this.file, false)) { - for (Task task : tasks) { - fw.write(task.toDataString() + "\n"); + for (int i = 0; i < tasks.size(); i++) { + fw.write(tasks.get(i).toDataString() + "\n"); } - } catch (IOException e) { - throw new FileException("Sorry! File not found! :'("); + throw new FileException("Sorry! There was an error editing the file! :'("); } diff --git a/src/main/java/Task.java b/src/main/java/Task.java index ddfb2d6479..695e50a45e 100644 --- a/src/main/java/Task.java +++ b/src/main/java/Task.java @@ -21,7 +21,7 @@ public void markAsUndone() { } public String toDataString() { - return (this.isDone ? "X" : "O") + ":" + this.description; + return (this.isDone ? "X" : "O") + "|" + this.description; } @Override diff --git a/src/main/java/TaskList.java b/src/main/java/TaskList.java new file mode 100644 index 0000000000..c75b43beeb --- /dev/null +++ b/src/main/java/TaskList.java @@ -0,0 +1,42 @@ +import java.util.ArrayList; + +public class TaskList { + private ArrayList list; + public TaskList() { + list = new ArrayList<>(); + + } + + public TaskList(ArrayList list) { + this.list = list; + } + + public void add(Task task) { + list.add(task); + } + + public void remove(int index) { + list.remove(index); + } + + public int size() { + return list.size(); + } + + public Task get(int index) { + return list.get(index); + } + + public ArrayList getList() { + return list; + } + + public void markTask(int index) { + list.get(index).markAsDone(); + } + + public void unmarkTask(int index) { + list.get(index).markAsUndone(); + } + +} diff --git a/src/main/java/Todo.java b/src/main/java/Todo.java index 4b05b61945..7d0885d769 100644 --- a/src/main/java/Todo.java +++ b/src/main/java/Todo.java @@ -5,7 +5,7 @@ public Todo(String description) { @Override public String toDataString() { - return "T:" + super.toDataString(); + return "T|" + super.toDataString(); } @Override diff --git a/src/main/java/Ui.java b/src/main/java/Ui.java new file mode 100644 index 0000000000..41579bfb2f --- /dev/null +++ b/src/main/java/Ui.java @@ -0,0 +1,90 @@ +import java.util.ArrayList; +import java.util.Scanner; + +public class Ui { + Scanner sc; + public Ui() { + sc = new Scanner(System.in); + + } + public void welcome() { + System.out.println("________________________________________________________________________"); + System.out.println("Hello! I'm Luke"); + System.out.println("What can I do for you?"); + System.out.println("________________________________________________________________________"); + + } + + public void goodbye() { + System.out.println("________________________________________________________________________"); + System.out.println("Bye! Hope to see you again soon!"); + System.out.println("________________________________________________________________________"); + } + + public void getErrorMessage(String message) { + System.out.println("________________________________________________________________________"); + System.out.println(message); + System.out.println("________________________________________________________________________"); + } + + public void printList(TaskList tasks) { + System.out.println("________________________________________________________________________"); + System.out.println("Here are the tasks in your list:"); + + for (int i = 0; i < tasks.size(); i++) { + if (tasks.get(i) != null) { + System.out.println(i + 1 + "." + tasks.get(i)); + + } + } + System.out.println("________________________________________________________________________"); + } + + public void printTaskMarked(Task task) { + String status = ""; + if (task.isDone) { + status = "done:"; + } else { + status = "not done yet:"; + } + System.out.println("________________________________________________________________________"); + System.out.println("Nice! I've marked this task as " + status); + System.out.println(task); + System.out.println("________________________________________________________________________"); + } + + public void printTaskAdded(Task task, int size) { + String taskStringType = ""; + if (size > 1) { + taskStringType = "tasks"; + } else { + taskStringType = "task"; + } + + System.out.println("________________________________________________________________________"); + System.out.println("Got it! I've added this task:"); + System.out.println(task); + System.out.println("Now you have " + size + " " + taskStringType + " in the list."); + System.out.println("________________________________________________________________________"); + } + + public void printTaskDeleted(Task task, int size) { + String taskStringType = ""; + if (size > 1) { + taskStringType = "tasks"; + } else { + taskStringType = "task"; + } + + System.out.println("________________________________________________________________________"); + System.out.println("Noted! I've removed this task:"); + System.out.println(task); + System.out.println("Now you have " + size + " " + taskStringType + " in the list."); + System.out.println("________________________________________________________________________"); + } + + public String readCommand() { + return sc.nextLine().trim(); + + } +} From cd3d9636f5304f44542a1798b3c5e18c89fddca9 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 03:51:26 +0800 Subject: [PATCH 17/32] A-Packages: Organize into Packages --- README.md | 4 ++-- src/main/java/{ => luke}/Duke.java | 2 ++ src/main/java/{ => luke}/Luke.java | 13 +++++++------ src/main/java/{ => luke}/Storage.java | 7 +++++++ .../java/{ => luke/exception}/DateException.java | 2 ++ .../java/{ => luke/exception}/FileException.java | 2 ++ .../java/{ => luke/exception}/LukeException.java | 2 ++ .../java/{ => luke/exception}/TaskException.java | 2 ++ src/main/java/{ => luke/parser}/DateTimeParser.java | 4 ++++ src/main/java/{ => luke/parser}/Parser.java | 10 +++++++++- src/main/java/{ => luke/task}/Deadline.java | 5 +++++ src/main/java/{ => luke/task}/Event.java | 5 +++++ src/main/java/{ => luke/task}/Task.java | 6 ++++++ src/main/java/{ => luke/task}/TaskList.java | 2 ++ src/main/java/{ => luke/task}/Todo.java | 2 ++ src/main/java/{ => luke/ui}/Ui.java | 10 +++++++--- text-ui-test/EXPECTED.TXT | 2 +- text-ui-test/runtest.bat | 2 +- 18 files changed, 68 insertions(+), 14 deletions(-) rename src/main/java/{ => luke}/Duke.java (95%) rename src/main/java/{ => luke}/Luke.java (84%) rename src/main/java/{ => luke}/Storage.java (95%) rename src/main/java/{ => luke/exception}/DateException.java (82%) rename src/main/java/{ => luke/exception}/FileException.java (82%) rename src/main/java/{ => luke/exception}/LukeException.java (82%) rename src/main/java/{ => luke/exception}/TaskException.java (82%) rename src/main/java/{ => luke/parser}/DateTimeParser.java (95%) rename src/main/java/{ => luke/parser}/Parser.java (97%) rename src/main/java/{ => luke/task}/Deadline.java (89%) rename src/main/java/{ => luke/task}/Event.java (92%) rename src/main/java/{ => luke/task}/Task.java (88%) rename src/main/java/{ => luke/task}/TaskList.java (97%) rename src/main/java/{ => luke/task}/Todo.java (93%) rename src/main/java/{ => luke/ui}/Ui.java (95%) diff --git a/README.md b/README.md index 8715d4d915..63387cc8b6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Duke project template +# luke.Duke project template This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it. @@ -13,7 +13,7 @@ Prerequisites: JDK 11, update Intellij to the most recent version. 1. If there are any further prompts, accept the defaults. 1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).
In the same dialog, set the **Project language level** field to the `SDK default` option. -3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output: +3. After that, locate the `src/main/java/luke.Duke.java` file, right-click it, and choose `Run luke.Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output: ``` Hello from ____ _ diff --git a/src/main/java/Duke.java b/src/main/java/luke/Duke.java similarity index 95% rename from src/main/java/Duke.java rename to src/main/java/luke/Duke.java index 5d313334cc..4115db3fdd 100644 --- a/src/main/java/Duke.java +++ b/src/main/java/luke/Duke.java @@ -1,3 +1,5 @@ +package luke; + public class Duke { public static void main(String[] args) { String logo = " ____ _ \n" diff --git a/src/main/java/Luke.java b/src/main/java/luke/Luke.java similarity index 84% rename from src/main/java/Luke.java rename to src/main/java/luke/Luke.java index f89a894d32..8b09f4818e 100644 --- a/src/main/java/Luke.java +++ b/src/main/java/luke/Luke.java @@ -1,5 +1,10 @@ -import java.util.ArrayList; -import java.util.Scanner; +package luke; + +import luke.exception.FileException; +import luke.exception.LukeException; +import luke.parser.Parser; +import luke.task.TaskList; +import luke.ui.Ui; public class Luke { private Storage storage; @@ -42,10 +47,6 @@ public void run() { public static void main(String[] args) throws LukeException { new Luke(FILE_PATH).run(); - ArrayList list = new ArrayList<>(); - Ui ui = new Ui(); - Storage storage = new Storage(FILE_PATH); - } } diff --git a/src/main/java/Storage.java b/src/main/java/luke/Storage.java similarity index 95% rename from src/main/java/Storage.java rename to src/main/java/luke/Storage.java index ec9ebbc78b..5f3e912b1d 100644 --- a/src/main/java/Storage.java +++ b/src/main/java/luke/Storage.java @@ -1,3 +1,10 @@ +package luke; + +import luke.exception.DateException; +import luke.exception.FileException; +import luke.task.*; +import luke.ui.Ui; + import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; diff --git a/src/main/java/DateException.java b/src/main/java/luke/exception/DateException.java similarity index 82% rename from src/main/java/DateException.java rename to src/main/java/luke/exception/DateException.java index c824716b04..f19309a8c5 100644 --- a/src/main/java/DateException.java +++ b/src/main/java/luke/exception/DateException.java @@ -1,3 +1,5 @@ +package luke.exception; + public class DateException extends Exception { public DateException(String message) { super(message); diff --git a/src/main/java/FileException.java b/src/main/java/luke/exception/FileException.java similarity index 82% rename from src/main/java/FileException.java rename to src/main/java/luke/exception/FileException.java index d5d8e6947d..42c5d246b5 100644 --- a/src/main/java/FileException.java +++ b/src/main/java/luke/exception/FileException.java @@ -1,3 +1,5 @@ +package luke.exception; + public class FileException extends Exception { public FileException(String message) { super(message); diff --git a/src/main/java/LukeException.java b/src/main/java/luke/exception/LukeException.java similarity index 82% rename from src/main/java/LukeException.java rename to src/main/java/luke/exception/LukeException.java index b18ac2f019..49f3c02a64 100755 --- a/src/main/java/LukeException.java +++ b/src/main/java/luke/exception/LukeException.java @@ -1,3 +1,5 @@ +package luke.exception; + public class LukeException extends Exception { public LukeException(String message) { super(message); diff --git a/src/main/java/TaskException.java b/src/main/java/luke/exception/TaskException.java similarity index 82% rename from src/main/java/TaskException.java rename to src/main/java/luke/exception/TaskException.java index e38d26c84b..3512044acf 100755 --- a/src/main/java/TaskException.java +++ b/src/main/java/luke/exception/TaskException.java @@ -1,3 +1,5 @@ +package luke.exception; + public class TaskException extends Exception { public TaskException(String message) { super(message); diff --git a/src/main/java/DateTimeParser.java b/src/main/java/luke/parser/DateTimeParser.java similarity index 95% rename from src/main/java/DateTimeParser.java rename to src/main/java/luke/parser/DateTimeParser.java index 0c77a89dfa..0c1069111c 100644 --- a/src/main/java/DateTimeParser.java +++ b/src/main/java/luke/parser/DateTimeParser.java @@ -1,3 +1,7 @@ +package luke.parser; + +import luke.exception.DateException; + import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.format.DateTimeFormatterBuilder; diff --git a/src/main/java/Parser.java b/src/main/java/luke/parser/Parser.java similarity index 97% rename from src/main/java/Parser.java rename to src/main/java/luke/parser/Parser.java index 60262a0ce3..16b623843e 100644 --- a/src/main/java/Parser.java +++ b/src/main/java/luke/parser/Parser.java @@ -1,4 +1,12 @@ -import java.util.ArrayList; +package luke.parser; + +import luke.Storage; +import luke.exception.DateException; +import luke.exception.FileException; +import luke.exception.LukeException; +import luke.exception.TaskException; +import luke.task.*; +import luke.ui.Ui; public class Parser { private String input; diff --git a/src/main/java/Deadline.java b/src/main/java/luke/task/Deadline.java similarity index 89% rename from src/main/java/Deadline.java rename to src/main/java/luke/task/Deadline.java index dcb157917e..1148e3451d 100644 --- a/src/main/java/Deadline.java +++ b/src/main/java/luke/task/Deadline.java @@ -1,3 +1,8 @@ +package luke.task; + +import luke.exception.DateException; +import luke.parser.DateTimeParser; + import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; diff --git a/src/main/java/Event.java b/src/main/java/luke/task/Event.java similarity index 92% rename from src/main/java/Event.java rename to src/main/java/luke/task/Event.java index 1d22b81813..f35dd84c43 100644 --- a/src/main/java/Event.java +++ b/src/main/java/luke/task/Event.java @@ -1,3 +1,8 @@ +package luke.task; + +import luke.exception.DateException; +import luke.parser.DateTimeParser; + import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; diff --git a/src/main/java/Task.java b/src/main/java/luke/task/Task.java similarity index 88% rename from src/main/java/Task.java rename to src/main/java/luke/task/Task.java index 695e50a45e..ad483190db 100644 --- a/src/main/java/Task.java +++ b/src/main/java/luke/task/Task.java @@ -1,3 +1,5 @@ +package luke.task; + public class Task { protected String description; protected boolean isDone; @@ -11,6 +13,10 @@ private String printStatus() { return (this.isDone ? "X" : " "); // mark done task with X } + public boolean getIsDone() { + return this.isDone; + } + public void markAsDone() { this.isDone = true; diff --git a/src/main/java/TaskList.java b/src/main/java/luke/task/TaskList.java similarity index 97% rename from src/main/java/TaskList.java rename to src/main/java/luke/task/TaskList.java index c75b43beeb..d166b2a16c 100644 --- a/src/main/java/TaskList.java +++ b/src/main/java/luke/task/TaskList.java @@ -1,3 +1,5 @@ +package luke.task; + import java.util.ArrayList; public class TaskList { diff --git a/src/main/java/Todo.java b/src/main/java/luke/task/Todo.java similarity index 93% rename from src/main/java/Todo.java rename to src/main/java/luke/task/Todo.java index 7d0885d769..899b7d304c 100644 --- a/src/main/java/Todo.java +++ b/src/main/java/luke/task/Todo.java @@ -1,3 +1,5 @@ +package luke.task; + public class Todo extends Task { public Todo(String description) { super(description); diff --git a/src/main/java/Ui.java b/src/main/java/luke/ui/Ui.java similarity index 95% rename from src/main/java/Ui.java rename to src/main/java/luke/ui/Ui.java index 41579bfb2f..aa07fe2911 100644 --- a/src/main/java/Ui.java +++ b/src/main/java/luke/ui/Ui.java @@ -1,4 +1,8 @@ -import java.util.ArrayList; +package luke.ui; + +import luke.task.Task; +import luke.task.TaskList; + import java.util.Scanner; public class Ui { @@ -9,7 +13,7 @@ public Ui() { } public void welcome() { System.out.println("________________________________________________________________________"); - System.out.println("Hello! I'm Luke"); + System.out.println("Hello! I'm Luke.Luke"); System.out.println("What can I do for you?"); System.out.println("________________________________________________________________________"); @@ -42,7 +46,7 @@ public void printList(TaskList tasks) { public void printTaskMarked(Task task) { String status = ""; - if (task.isDone) { + if (task.getIsDone()) { status = "done:"; } else { status = "not done yet:"; diff --git a/text-ui-test/EXPECTED.TXT b/text-ui-test/EXPECTED.TXT index e830347b1f..9a74c2446b 100644 --- a/text-ui-test/EXPECTED.TXT +++ b/text-ui-test/EXPECTED.TXT @@ -1,5 +1,5 @@ ________________________________________________________________________ -Hello! I'm Luke +Hello! I'm luke.luke What can I do for you? ________________________________________________________________________ ________________________________________________________________________ diff --git a/text-ui-test/runtest.bat b/text-ui-test/runtest.bat index 20ffd37b23..7c294e6785 100644 --- a/text-ui-test/runtest.bat +++ b/text-ui-test/runtest.bat @@ -15,7 +15,7 @@ IF ERRORLEVEL 1 ( REM no error here, errorlevel == 0 REM run the program, feed commands from input.txt file and redirect the output to the ACTUAL.TXT -java -classpath ..\bin Luke < input.txt > ACTUAL.TXT +java -classpath ..\bin luke.luke < input.txt > ACTUAL.TXT REM compare the output to the expected output FC ACTUAL.TXT EXPECTED.TXT From 58636310769519520928da61f597ca477f6e38a3 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 04:35:33 +0800 Subject: [PATCH 18/32] A-Gradle: Use Gradle --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index a388517ae1..867d6c630a 100644 --- a/build.gradle +++ b/build.gradle @@ -28,11 +28,11 @@ test { } application { - mainClass.set("seedu.duke.Duke") + mainClass.set("luke.Luke") } shadowJar { - archiveBaseName = "duke" + archiveBaseName = "luke" archiveClassifier = null dependsOn("distZip", "distTar") } From 3b436bb0e15685101d02f4abe5d3a9953d2225b8 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 05:36:54 +0800 Subject: [PATCH 19/32] A-JUnit: Add JUnit Tests --- .../java/luke/parser/DateTimeParserTest.java | 86 +++++++++++ src/test/java/luke/task/TaskListTest.java | 144 ++++++++++++++++++ 2 files changed, 230 insertions(+) create mode 100644 src/test/java/luke/parser/DateTimeParserTest.java create mode 100644 src/test/java/luke/task/TaskListTest.java diff --git a/src/test/java/luke/parser/DateTimeParserTest.java b/src/test/java/luke/parser/DateTimeParserTest.java new file mode 100644 index 0000000000..76e2fad87d --- /dev/null +++ b/src/test/java/luke/parser/DateTimeParserTest.java @@ -0,0 +1,86 @@ +package luke.parser; + +import luke.exception.DateException; +import org.junit.jupiter.api.Test; + +import java.time.LocalDateTime; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +public class DateTimeParserTest { + @Test + public void testGetDateTime() throws DateException { + // Test date in the format of yyyy-MM-dd HH:mm + DateTimeParser date = new DateTimeParser("2024-02-25 13:00"); + LocalDateTime expected = LocalDateTime.of(2024, 2, 25, 13, 0); + assertEquals(expected, date.getDateTime()); + + // Test date in the format of dd-MM-yyyy HH:mm + date = new DateTimeParser("25-02-2024 13:00"); + assertEquals(expected, date.getDateTime()); + + // Test date in the format of yyyy/MM/dd HH:mm + date = new DateTimeParser("2024/02/25 13:00"); + assertEquals(expected, date.getDateTime()); + + // Test date in the format of dd/MM/yyyy HH:mm + date = new DateTimeParser("25/02/2024 13:00"); + assertEquals(expected, date.getDateTime()); + + // Test date in the format of dd/MM/yyyy HH + date = new DateTimeParser("25/02/2024 13"); + assertEquals(expected, date.getDateTime()); + + // Test date in the format of yyyy-MM-dd (without time) + date = new DateTimeParser("2024-02-25"); + expected = LocalDateTime.of(2024, 2, 25, 0, 0); + assertEquals(expected, date.getDateTime()); + + } + + @Test + public void testGetDateTime_DateExceptionThrown() { + try { + DateTimeParser date = new DateTimeParser("2024-02-25 13:00:00"); + } catch (DateException e) { + assertEquals("Sorry! The date is not in the correct format! :'(", e.getMessage()); + } + + try { + DateTimeParser date = new DateTimeParser("25-2-2024 13:00"); + } catch (DateException e) { + assertEquals("Sorry! The date is not in the correct format! :'(", e.getMessage()); + } + + try { + DateTimeParser date = new DateTimeParser("Feb 25 2024 13:00"); + } catch (DateException e) { + assertEquals("Sorry! The date is not in the correct format! :'(", e.getMessage()); + } + + try { + DateTimeParser date = new DateTimeParser("25/02/2024 1 PM"); + } catch (DateException e) { + assertEquals("Sorry! The date is not in the correct format! :'(", e.getMessage()); + } + + try { + DateTimeParser date = new DateTimeParser("25-02/2024 13:00"); + } catch (DateException e) { + assertEquals("Sorry! The date is not in the correct format! :'(", e.getMessage()); + } + + try { + DateTimeParser date = new DateTimeParser("2024/02/25 "); + } catch (DateException e) { + assertEquals("Sorry! The date is not in the correct format! :'(", e.getMessage()); + } + + try { + DateTimeParser date = new DateTimeParser("02/05"); + } catch (DateException e) { + assertEquals("Sorry! The date is not in the correct format! :'(", e.getMessage()); + } + } + +} diff --git a/src/test/java/luke/task/TaskListTest.java b/src/test/java/luke/task/TaskListTest.java new file mode 100644 index 0000000000..3f262205f1 --- /dev/null +++ b/src/test/java/luke/task/TaskListTest.java @@ -0,0 +1,144 @@ +package luke.task; + +import luke.exception.DateException; +import org.junit.jupiter.api.Test; + +import java.time.LocalDateTime; +import java.util.ArrayList; + +import static org.junit.jupiter.api.Assertions.assertEquals; + + +public class TaskListTest { + @Test + public void testSize() throws DateException { + ArrayList list = new ArrayList<>(); + TaskList taskList = new TaskList(); + Todo todo = new Todo("read book"); + Deadline deadline = new Deadline("return book", "2024-02-25 13:00"); + Event event = new Event("project meeting", "2024-02-25 13:00", "2024-02-25 15:00"); + taskList.add(todo); + taskList.add(deadline); + taskList.add(event); + list.add(todo); + list.add(deadline); + list.add(event); + + // Test if the size of the list is correct + assertEquals(list.size(), taskList.size()); + + } + + @Test + public void testAdd() throws DateException { + ArrayList list = new ArrayList<>(); + TaskList taskList = new TaskList(); + Todo todo = new Todo("read book"); + Deadline deadline = new Deadline("return book", "2024-02-25 13:00"); + Event event = new Event("project meeting", "2024-02-25 13:00", "2024-02-25 15:00"); + taskList.add(todo); + taskList.add(deadline); + taskList.add(event); + list.add(todo); + list.add(deadline); + list.add(event); + + // Test if the tasks are added to the list + assertEquals(3, taskList.size()); + assertEquals(todo, taskList.get(0)); + assertEquals(deadline, taskList.get(1)); + assertEquals(event, taskList.get(2)); + assertEquals(list.get(0), taskList.get(0)); + assertEquals(list.get(1), taskList.get(1)); + assertEquals(list.get(2), taskList.get(2)); + + } + + @Test + public void testRemove() throws DateException { + ArrayList list = new ArrayList<>(); + TaskList taskList = new TaskList(); + Todo todo = new Todo("read book"); + Deadline deadline = new Deadline("return book", "2024-02-25 13:00"); + Event event = new Event("project meeting", "2024-02-25 13:00", "2024-02-25 15:00"); + taskList.add(todo); + taskList.add(deadline); + taskList.add(event); + list.add(todo); + list.add(deadline); + list.add(event); + + // remove deadline + taskList.remove(1); + list.remove(1); + + // Test if the task is removed from the list + assertEquals(2, taskList.size()); + assertEquals(todo, taskList.get(0)); + assertEquals(event, taskList.get(1)); + assertEquals(list, taskList.getList()); + + } + + @Test + public void testMarkTask() throws DateException { + TaskList taskList = new TaskList(); + Todo todo = new Todo("read book"); + Deadline deadline = new Deadline("return book", "2024-02-25 13:00"); + Event event = new Event("project meeting", "2024-02-25 13:00", "2024-02-25 15:00"); + taskList.add(todo); + taskList.add(deadline); + taskList.add(event); + + // mark deadline as done + taskList.markTask(1); + deadline.markAsDone(); + + // Test if the task is marked as done + assertEquals(deadline.getIsDone(), taskList.get(1).getIsDone()); + + } + + @Test + public void testUnmarkTask() throws DateException { + TaskList taskList = new TaskList(); + Todo todo = new Todo("read book"); + Deadline deadline = new Deadline("return book", "2024-02-25 13:00"); + Event event = new Event("project meeting", "2024-02-25 13:00", "2024-02-25 15:00"); + taskList.add(todo); + taskList.add(deadline); + taskList.add(event); + + // mark deadline as done + taskList.markTask(1); + deadline.markAsDone(); + + // unmark deadline as undone + taskList.unmarkTask(1); + deadline.markAsUndone(); + + // Test if the task is marked as undone + assertEquals(deadline.getIsDone(), taskList.get(1).getIsDone()); + + } + + @Test +public void testGetList() throws DateException { + ArrayList list = new ArrayList<>(); + TaskList taskList = new TaskList(); + Todo todo = new Todo("read book"); + Deadline deadline = new Deadline("return book", "2024-02-25 13:00"); + Event event = new Event("project meeting", "2024-02-25 13:00", "2024-02-25 15:00"); + taskList.add(todo); + taskList.add(deadline); + taskList.add(event); + list.add(todo); + list.add(deadline); + list.add(event); + + // Test if the list is returned correctly + assertEquals(list, taskList.getList()); + + } + +} From 3e6b152243b79ebc371ef3894ebf75952338fa03 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 06:46:34 +0800 Subject: [PATCH 20/32] A-JavaDoc: JavaDoc --- src/main/java/luke/Luke.java | 17 +++++++ src/main/java/luke/Storage.java | 22 +++++++++ .../java/luke/exception/DateException.java | 3 ++ .../java/luke/exception/FileException.java | 3 ++ .../java/luke/exception/LukeException.java | 3 ++ .../java/luke/exception/TaskException.java | 3 ++ src/main/java/luke/parser/DateTimeParser.java | 11 +++++ src/main/java/luke/parser/Parser.java | 22 +++++++++ src/main/java/luke/task/Deadline.java | 21 ++++++++ src/main/java/luke/task/Event.java | 21 ++++++++ src/main/java/luke/task/Task.java | 18 +++++++ src/main/java/luke/task/TaskList.java | 48 +++++++++++++++++++ src/main/java/luke/task/Todo.java | 13 +++++ src/main/java/luke/ui/Ui.java | 45 +++++++++++++++++ 14 files changed, 250 insertions(+) diff --git a/src/main/java/luke/Luke.java b/src/main/java/luke/Luke.java index 8b09f4818e..04c073353f 100644 --- a/src/main/java/luke/Luke.java +++ b/src/main/java/luke/Luke.java @@ -6,12 +6,20 @@ import luke.task.TaskList; import luke.ui.Ui; +/** + * Represents the main class of the program. + */ public class Luke { private Storage storage; private Ui ui; private TaskList tasks; private static final String FILE_PATH = "./src/main/data/luke.txt"; + /** + * Constructor for Luke that initializes the Ui, Storage and TaskList. + * + * @param filePath The file path of the file to be read from. + */ public Luke(String filePath) { ui = new Ui(); storage = new Storage(filePath); @@ -25,6 +33,9 @@ public Luke(String filePath) { } + /** + * Runs the program. + */ public void run() { // Greetings ui.welcome(); @@ -45,6 +56,12 @@ public void run() { ui.goodbye(); } + /** + * Main method to run the program. + * + * @param args The arguments passed in. + * @throws LukeException If an error occurs. + */ public static void main(String[] args) throws LukeException { new Luke(FILE_PATH).run(); diff --git a/src/main/java/luke/Storage.java b/src/main/java/luke/Storage.java index 5f3e912b1d..b2b4ca5f2e 100644 --- a/src/main/java/luke/Storage.java +++ b/src/main/java/luke/Storage.java @@ -12,9 +12,18 @@ import java.util.ArrayList; import java.util.Scanner; +/** + * Represents the storage of the tasks into a file and reading the tasks from the file. + */ public class Storage { private File file; private Ui ui; + + /** + * Constructor for Storage that initializes the file and Ui, and creates the file if it does not exist. + * + * @param path The file path of the file to be read from. + */ public Storage(String path) { this.file = new File(path); @@ -30,6 +39,13 @@ public Storage(String path) { this.ui = new Ui(); } + + /** + * Reads the tasks from the file and returns an ArrayList of tasks. + * + * @return An ArrayList of tasks read from the file. + * @throws FileException If the file is not found or is corrupted. + */ public ArrayList readTask() throws FileException { ArrayList tasks = new ArrayList(); // Read tasks from file @@ -82,6 +98,12 @@ public ArrayList readTask() throws FileException { return tasks; } + /** + * Writes the list of tasks to the data file. + * + * @param tasks The TaskList of tasks to be written to the file. + * @throws FileException If there is an error editing the file. + */ public void writeTask(TaskList tasks) throws FileException { try (FileWriter fw = new FileWriter(this.file, false)) { for (int i = 0; i < tasks.size(); i++) { diff --git a/src/main/java/luke/exception/DateException.java b/src/main/java/luke/exception/DateException.java index f19309a8c5..af9d77b143 100644 --- a/src/main/java/luke/exception/DateException.java +++ b/src/main/java/luke/exception/DateException.java @@ -1,5 +1,8 @@ package luke.exception; +/** + * Represents an exception when the date is not in the correct format. + */ public class DateException extends Exception { public DateException(String message) { super(message); diff --git a/src/main/java/luke/exception/FileException.java b/src/main/java/luke/exception/FileException.java index 42c5d246b5..a43c642333 100644 --- a/src/main/java/luke/exception/FileException.java +++ b/src/main/java/luke/exception/FileException.java @@ -1,5 +1,8 @@ package luke.exception; +/** + * Represents an exception when the file cannot be read or written to. + */ public class FileException extends Exception { public FileException(String message) { super(message); diff --git a/src/main/java/luke/exception/LukeException.java b/src/main/java/luke/exception/LukeException.java index 49f3c02a64..47e70ab935 100755 --- a/src/main/java/luke/exception/LukeException.java +++ b/src/main/java/luke/exception/LukeException.java @@ -1,5 +1,8 @@ package luke.exception; +/** + * Represents an exception when the program encounters an error. + */ public class LukeException extends Exception { public LukeException(String message) { super(message); diff --git a/src/main/java/luke/exception/TaskException.java b/src/main/java/luke/exception/TaskException.java index 3512044acf..5d5b09dce2 100755 --- a/src/main/java/luke/exception/TaskException.java +++ b/src/main/java/luke/exception/TaskException.java @@ -1,5 +1,8 @@ package luke.exception; +/** + * Represents an exception when the task is not in the correct format. + */ public class TaskException extends Exception { public TaskException(String message) { super(message); diff --git a/src/main/java/luke/parser/DateTimeParser.java b/src/main/java/luke/parser/DateTimeParser.java index 0c1069111c..8d009b6231 100644 --- a/src/main/java/luke/parser/DateTimeParser.java +++ b/src/main/java/luke/parser/DateTimeParser.java @@ -8,8 +8,19 @@ import java.time.format.DateTimeParseException; import java.time.temporal.ChronoField; +/** + * Represents a parser that parses a string into a LocalDateTime object and throws an + * exception if the date is not in the correct format. + */ public class DateTimeParser { private LocalDateTime date; + + /** + * Constructs a DateTimeParser object and parses the date into a LocalDateTime object. + * + * @param date The date to be parsed into a LocalDateTime object from a string. + * @throws DateException If the date is not in the correct format. + */ public DateTimeParser(String date) throws DateException { DateTimeFormatter formatter = new DateTimeFormatterBuilder() .appendPattern("[dd/MM/yyyy]" + "[yyyy/MM/dd]" + "[yyyy-MM-dd]" + "[dd-MM-yyyy]") diff --git a/src/main/java/luke/parser/Parser.java b/src/main/java/luke/parser/Parser.java index 16b623843e..c396dadd2b 100644 --- a/src/main/java/luke/parser/Parser.java +++ b/src/main/java/luke/parser/Parser.java @@ -8,15 +8,32 @@ import luke.task.*; import luke.ui.Ui; +/** + * Represents a parser that parses the user input and executes the corresponding command. + */ public class Parser { private String input; private Ui ui; private Storage storage; + + /** + * Constructor for the parser. + * + * @param input The user input. + */ public Parser(String input) { this.input = input; } + /** + * Parses the user input and executes the corresponding command to add, delete, mark, unmark or list the tasks + * as well as to exit the program. + * + * @param list The list of tasks. + * @param ui The user interface. + * @param storage The storage of the tasks. + */ public void parse(TaskList list, Ui ui, Storage storage) { if (isExit()) { return; @@ -172,6 +189,11 @@ public void setInput(String input) { this.input = input; } + /** + * Checks if the user input is "bye". + * + * @return True if the user input is "bye", false otherwise. + */ public boolean isExit() { return input.equals("bye"); } diff --git a/src/main/java/luke/task/Deadline.java b/src/main/java/luke/task/Deadline.java index 1148e3451d..0670dae2ad 100644 --- a/src/main/java/luke/task/Deadline.java +++ b/src/main/java/luke/task/Deadline.java @@ -6,8 +6,19 @@ import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; +/** + * Represents a deadline task, that has a description and a date and time of the deadline. + */ public class Deadline extends Task { protected LocalDateTime by; + + /** + * Constructor for Deadline, which takes in the description and date of the deadline. + * + * @param description Description of the deadline task. + * @param by Date and time of the deadline. + * @throws DateException If the date is not in the correct format. + */ public Deadline(String description, String by) throws DateException { super(description); DateTimeParser dateTimeParser = new DateTimeParser(by); @@ -16,11 +27,21 @@ public Deadline(String description, String by) throws DateException { } + /** + * Returns the string representation of the deadline task to be saved in the data file. + * + * @return The string representation of the deadline task to be saved in the data file. + */ @Override public String toDataString() { return "D|" + super.toDataString() + "|" + this.by.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } + /** + * Returns the string representation of the deadline task to be displayed to the user. + * + * @return The string representation of the deadline task to be displayed to the user. + */ private String formatDateTime(LocalDateTime date) { return date.format(DateTimeFormatter.ofPattern("MMM d yyyy hh:mm a")); } diff --git a/src/main/java/luke/task/Event.java b/src/main/java/luke/task/Event.java index f35dd84c43..0b92d53f6f 100644 --- a/src/main/java/luke/task/Event.java +++ b/src/main/java/luke/task/Event.java @@ -6,10 +6,21 @@ import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; +/** + * Represents an event task, that is a task with a description and the starting and ending date and time. + */ public class Event extends Task{ protected LocalDateTime from; protected LocalDateTime to; + /** + * Constructor for Event, which takes in the description and the from and to dates of the event. + * + * @param description Description of the event. + * @param from Starting date and time of the event. + * @param to Ending date and time of the event. + * @throws DateException If the date is not in the correct format. + */ public Event(String description, String from, String to) throws DateException { super(description); DateTimeParser dateTimeParserFrom = new DateTimeParser(from); @@ -19,12 +30,22 @@ public Event(String description, String from, String to) throws DateException { this.to = dateTimeParserTo.getDateTime(); } + /** + * Returns the string representation of the event task to be saved in the data file. + * + * @return The string representation of the event task to be saved in the data file. + */ @Override public String toDataString() { return "E|" + super.toDataString() + "|" + this.from.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")) + "|" + this.to.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } + /** + * Returns the string representation of the event task to be displayed to the user. + * + * @return The string representation of the event task to be displayed to the user. + */ private String formatDateTime(LocalDateTime date) { return date.format(DateTimeFormatter.ofPattern("MMM d yyyy hh:mm a")); } diff --git a/src/main/java/luke/task/Task.java b/src/main/java/luke/task/Task.java index ad483190db..d538831d0d 100644 --- a/src/main/java/luke/task/Task.java +++ b/src/main/java/luke/task/Task.java @@ -1,14 +1,27 @@ package luke.task; +/** + * Represents a task in the task list. + */ public class Task { protected String description; protected boolean isDone; + /** + * Constructor for Task, which takes in a description of the task and sets the task as not done. + * + * @param description Description of the task. + */ public Task(String description) { this.description = description; this.isDone = false; } + /** + * Returns the status of the task with either an X if the task is done or a space if the task is not done. + * + * @return The status of the task in String format. + */ private String printStatus() { return (this.isDone ? "X" : " "); // mark done task with X } @@ -26,6 +39,11 @@ public void markAsUndone() { this.isDone = false; } + /** + * Returns the string representation of the task to be saved in the data file. + * + * @return The string representation of the task to be saved in the data file. + */ public String toDataString() { return (this.isDone ? "X" : "O") + "|" + this.description; } diff --git a/src/main/java/luke/task/TaskList.java b/src/main/java/luke/task/TaskList.java index d166b2a16c..ca7c95c296 100644 --- a/src/main/java/luke/task/TaskList.java +++ b/src/main/java/luke/task/TaskList.java @@ -2,41 +2,89 @@ import java.util.ArrayList; +/** + * Represents a list of tasks, where each task is stored in an ArrayList. + */ public class TaskList { private ArrayList list; + + /** + * Constructs a TaskList object with an empty ArrayList. + */ public TaskList() { list = new ArrayList<>(); } + /** + * Constructs a TaskList object with an ArrayList of tasks provided. + * + * @param list ArrayList of tasks. + */ public TaskList(ArrayList list) { this.list = list; } + /** + * Adds a task to the list of tasks. + * + * @param task The task to be added to the list of tasks. + */ public void add(Task task) { list.add(task); } + /** + * Removes a task from the list of tasks. + * + * @param index The index of the task to be removed from the list of tasks. + */ public void remove(int index) { list.remove(index); } + /** + * Returns the number of tasks in the list. + * + * @return The number of tasks in the list. + */ public int size() { return list.size(); } + /** + * Returns the task at the specified index in the list. + * + * @param index The index of the task in the list. + * @return The task at the specified index in the list. + */ public Task get(int index) { return list.get(index); } + /** + * Returns the whole list of tasks. + * + * @return The whole list of tasks. + */ public ArrayList getList() { return list; } + /** + * Marks a task as done in the list of tasks using the index of the task. + * + * @param index The index of the task to be marked as done. + */ public void markTask(int index) { list.get(index).markAsDone(); } + /** + * Marks a task as undone in the list of tasks using the index of the task. + * + * @param index The index of the task to be marked as undone. + */ public void unmarkTask(int index) { list.get(index).markAsUndone(); } diff --git a/src/main/java/luke/task/Todo.java b/src/main/java/luke/task/Todo.java index 899b7d304c..083b364294 100644 --- a/src/main/java/luke/task/Todo.java +++ b/src/main/java/luke/task/Todo.java @@ -1,10 +1,23 @@ package luke.task; +/** + * Represents a task with a description only. + */ public class Todo extends Task { + /** + * Constructor for Todo, which is a task with a description only. + * + * @param description Description of the task. + */ public Todo(String description) { super(description); } + /** + * Returns the string representation of the task in the format to be saved in the data file. + * + * @return String representation of the task in the format to be saved in the data file. + */ @Override public String toDataString() { return "T|" + super.toDataString(); diff --git a/src/main/java/luke/ui/Ui.java b/src/main/java/luke/ui/Ui.java index aa07fe2911..067ce762e0 100644 --- a/src/main/java/luke/ui/Ui.java +++ b/src/main/java/luke/ui/Ui.java @@ -5,12 +5,22 @@ import java.util.Scanner; +/** + * Represents the user interface of the application. + */ public class Ui { Scanner sc; + /** + * Constructs an Ui object, where the scanner is initialised. + */ public Ui() { sc = new Scanner(System.in); } + + /** + * Prints the welcome message when the application starts. + */ public void welcome() { System.out.println("________________________________________________________________________"); System.out.println("Hello! I'm Luke.Luke"); @@ -19,18 +29,31 @@ public void welcome() { } + /** + * Prints the goodbye message when the application exits. + */ public void goodbye() { System.out.println("________________________________________________________________________"); System.out.println("Bye! Hope to see you again soon!"); System.out.println("________________________________________________________________________"); } + /** + * Prints the error message when an error occurs. + * + * @param message The error message to be printed. + */ public void getErrorMessage(String message) { System.out.println("________________________________________________________________________"); System.out.println(message); System.out.println("________________________________________________________________________"); } + /** + * Prints the list of tasks in the TaskList. + * + * @param tasks The TaskList to be printed. + */ public void printList(TaskList tasks) { System.out.println("________________________________________________________________________"); System.out.println("Here are the tasks in your list:"); @@ -44,6 +67,11 @@ public void printList(TaskList tasks) { System.out.println("________________________________________________________________________"); } + /** + * Prints the task when the task just got marked or unmarked. + * + * @param task The task that is marked or unmarked. + */ public void printTaskMarked(Task task) { String status = ""; if (task.getIsDone()) { @@ -57,6 +85,12 @@ public void printTaskMarked(Task task) { System.out.println("________________________________________________________________________"); } + /** + * Prints the task when added to the TaskList. + * + * @param task The task that is added. + * @param size The size of the TaskList. + */ public void printTaskAdded(Task task, int size) { String taskStringType = ""; if (size > 1) { @@ -72,6 +106,12 @@ public void printTaskAdded(Task task, int size) { System.out.println("________________________________________________________________________"); } + /** + * Prints the task when deleted from the TaskList. + * + * @param task The task that is deleted. + * @param size The size of the TaskList. + */ public void printTaskDeleted(Task task, int size) { String taskStringType = ""; if (size > 1) { @@ -87,6 +127,11 @@ public void printTaskDeleted(Task task, int size) { System.out.println("________________________________________________________________________"); } + /** + * Reads the command from the user. + * + * @return The command from the user in String format after trimming. + */ public String readCommand() { return sc.nextLine().trim(); From e7a5407e5e18eaf33a1ce07205f417b872cd634b Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 10:55:48 +0800 Subject: [PATCH 21/32] A-CodingStandard: Follow the Coding Standard --- src/main/java/luke/parser/Parser.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/main/java/luke/parser/Parser.java b/src/main/java/luke/parser/Parser.java index c396dadd2b..ad5889ced7 100644 --- a/src/main/java/luke/parser/Parser.java +++ b/src/main/java/luke/parser/Parser.java @@ -13,8 +13,6 @@ */ public class Parser { private String input; - private Ui ui; - private Storage storage; /** * Constructor for the parser. @@ -148,7 +146,7 @@ public void parse(TaskList list, Ui ui, Storage storage) { list.add(new Deadline(description, by)); } catch (StringIndexOutOfBoundsException e) { - throw new TaskException("Hold up!! The description of a deadline cannot be empty.\n" + throw new TaskException("Hold up!! The description and /by of a deadline cannot be empty.\n" + "Please follow this format: deadline /by ."); } @@ -164,7 +162,8 @@ public void parse(TaskList list, Ui ui, Storage storage) { String to = input.substring(input.indexOf("/to") + 4); list.add(new Event(description, from, to)); } catch (StringIndexOutOfBoundsException e) { - throw new TaskException("Hold up!! The description of an event cannot be empty.\n" + throw new TaskException("Hold up!! The description, /from and /to of an event " + + "cannot be empty.\n" + "Please follow this format: event " + "/from /to ."); } @@ -178,9 +177,9 @@ public void parse(TaskList list, Ui ui, Storage storage) { } catch (LukeException | TaskException | FileException e) { ui.getErrorMessage(e.getMessage()); } catch (DateException e) { - ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as dd/MM/yyyy or" - + " yyyy-MM-dd\nYou can also enter the time in 24-hour format such as HH[:MM] " + - "after the date"); + ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as " + + "dd/MM/yyyy or yyyy-MM-dd\nYou can also enter the time in 24-hour format such as " + + "HH[:MM] after the date"); } } } From 8abadf7823261769939cccf971a8ea45003d9894 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Thu, 8 Feb 2024 11:10:28 +0800 Subject: [PATCH 22/32] Level 9. Find --- src/main/java/luke/parser/Parser.java | 16 ++++++++++++++++ src/main/java/luke/task/Task.java | 4 ++++ src/main/java/luke/task/TaskList.java | 10 ++++++++++ src/main/java/luke/ui/Ui.java | 11 +++++++++++ src/test/java/luke/task/TaskListTest.java | 20 ++++++++++++++++++++ 5 files changed, 61 insertions(+) diff --git a/src/main/java/luke/parser/Parser.java b/src/main/java/luke/parser/Parser.java index 16b623843e..196ef27ac3 100644 --- a/src/main/java/luke/parser/Parser.java +++ b/src/main/java/luke/parser/Parser.java @@ -22,6 +22,22 @@ public void parse(TaskList list, Ui ui, Storage storage) { return; } else if (this.input.equals("list")) { ui.printList(list); + } else if (this.input.contains("find")) { + try { + if (input.equals("find")) { + throw new LukeException("Hold up!! There must be a keyword to find!\n" + + "Please enter a keyword after find."); + } + + // 5 is the index after "find ", so starts from index 5 + String keyword = input.substring(5); + TaskList foundList = list.find(keyword); + ui.printTaskFound(foundList); + + } catch (LukeException e) { + ui.getErrorMessage(e.getMessage()); + } + } else if (this.input.contains("mark")) { try { if (input.equals("mark") || input.equals("unmark")) { diff --git a/src/main/java/luke/task/Task.java b/src/main/java/luke/task/Task.java index ad483190db..377b07cb15 100644 --- a/src/main/java/luke/task/Task.java +++ b/src/main/java/luke/task/Task.java @@ -26,6 +26,10 @@ public void markAsUndone() { this.isDone = false; } + public boolean matchKeyword(String keyword) { + return this.description.contains(keyword); + } + public String toDataString() { return (this.isDone ? "X" : "O") + "|" + this.description; } diff --git a/src/main/java/luke/task/TaskList.java b/src/main/java/luke/task/TaskList.java index d166b2a16c..a89aa94b39 100644 --- a/src/main/java/luke/task/TaskList.java +++ b/src/main/java/luke/task/TaskList.java @@ -41,4 +41,14 @@ public void unmarkTask(int index) { list.get(index).markAsUndone(); } + public TaskList find(String keyword) { + TaskList foundList = new TaskList(); + for (Task task : list) { + if (task.matchKeyword(keyword)) { + foundList.add(task); + } + } + return foundList; + } + } diff --git a/src/main/java/luke/ui/Ui.java b/src/main/java/luke/ui/Ui.java index aa07fe2911..1ab16dbde5 100644 --- a/src/main/java/luke/ui/Ui.java +++ b/src/main/java/luke/ui/Ui.java @@ -91,4 +91,15 @@ public String readCommand() { return sc.nextLine().trim(); } + + public void printTaskFound(TaskList tasks) { + System.out.println("________________________________________________________________________"); + System.out.println("Here are the matching tasks in your list:"); + for (int i = 0; i < tasks.size(); i++) { + if (tasks.get(i) != null) { + System.out.println(i + 1 + "." + tasks.get(i)); + } + } + System.out.println("________________________________________________________________________"); + } } diff --git a/src/test/java/luke/task/TaskListTest.java b/src/test/java/luke/task/TaskListTest.java index 3f262205f1..8b65329c6f 100644 --- a/src/test/java/luke/task/TaskListTest.java +++ b/src/test/java/luke/task/TaskListTest.java @@ -141,4 +141,24 @@ public void testGetList() throws DateException { } + @Test + public void testFind() throws DateException { + TaskList taskList = new TaskList(); + Todo todo = new Todo("read book"); + Deadline deadline = new Deadline("return book", "2024-02-25 13:00"); + Event event = new Event("project meeting", "2024-02-25 13:00", "2024-02-25 15:00"); + taskList.add(todo); + taskList.add(deadline); + taskList.add(event); + + // find tasks with keyword "book" + TaskList foundList = taskList.find("book"); + + // Test if the tasks with keyword "book" are found + assertEquals(2, foundList.size()); + assertEquals(todo, foundList.get(0)); + assertEquals(deadline, foundList.get(1)); + + } + } From e957f811b0c323ba2090bbed3667866d0f036063 Mon Sep 17 00:00:00 2001 From: jasperng-nus Date: Fri, 16 Feb 2024 08:56:48 +0800 Subject: [PATCH 23/32] Level 10. GUI --- build.gradle | 15 ++ gradlew | 0 src/main/java/luke/DialogBox.java | 48 ++++++ src/main/java/luke/Launcher.java | 13 ++ src/main/java/luke/Luke.java | 146 +++++++++++++++++- .../java/luke/exception/LukeException.java | 0 .../java/luke/exception/TaskException.java | 0 src/main/java/luke/parser/Parser.java | 36 +++-- src/main/java/luke/ui/Ui.java | 79 +++++----- src/main/resources/view/DialogBox.fxml | 16 ++ src/main/resources/view/MainWindow.fxml | 19 +++ text-ui-test/runtest.sh | 2 +- 12 files changed, 313 insertions(+), 61 deletions(-) mode change 100755 => 100644 gradlew create mode 100644 src/main/java/luke/DialogBox.java create mode 100644 src/main/java/luke/Launcher.java mode change 100755 => 100644 src/main/java/luke/exception/LukeException.java mode change 100755 => 100644 src/main/java/luke/exception/TaskException.java create mode 100644 src/main/resources/view/DialogBox.fxml create mode 100644 src/main/resources/view/MainWindow.fxml mode change 100755 => 100644 text-ui-test/runtest.sh diff --git a/build.gradle b/build.gradle index 867d6c630a..7b2db33a03 100644 --- a/build.gradle +++ b/build.gradle @@ -9,6 +9,21 @@ repositories { } dependencies { + String javaFxVersion = '17.0.7' + + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux' + testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0' testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0' } diff --git a/gradlew b/gradlew old mode 100755 new mode 100644 diff --git a/src/main/java/luke/DialogBox.java b/src/main/java/luke/DialogBox.java new file mode 100644 index 0000000000..7748b4359a --- /dev/null +++ b/src/main/java/luke/DialogBox.java @@ -0,0 +1,48 @@ +package luke; + +import javafx.collections.FXCollections; +import javafx.collections.ObservableList; +import javafx.geometry.Pos; +import javafx.scene.control.Label; +import javafx.scene.image.ImageView; +import javafx.scene.layout.HBox; +import javafx.scene.Node; + +// Solution below adapted from https://se-education.org/guides/tutorials/javaFxPart3.html +public class DialogBox extends HBox { + private Label text; + private ImageView displayPicture; + + public DialogBox(Label l, ImageView iv) { + text = l; + displayPicture = iv; + + text.setWrapText(true); + displayPicture.setFitWidth(100.0); + displayPicture.setFitHeight(100.0); + + this.setAlignment(Pos.TOP_RIGHT); + this.getChildren().addAll(text, displayPicture); + } + + /** + * Flips the dialog box such that the ImageView is on the left and text on the right. + */ + private void flip() { + this.setAlignment(Pos.TOP_LEFT); + ObservableList tmp = FXCollections.observableArrayList(this.getChildren()); + FXCollections.reverse(tmp); + this.getChildren().setAll(tmp); + } + + public static DialogBox getUserDialog(Label l, ImageView iv) { + return new DialogBox(l, iv); + } + + public static DialogBox getLukeDialog(Label l, ImageView iv) { + var db = new DialogBox(l, iv); + db.flip(); + return db; + } + +} diff --git a/src/main/java/luke/Launcher.java b/src/main/java/luke/Launcher.java new file mode 100644 index 0000000000..a01ba2a942 --- /dev/null +++ b/src/main/java/luke/Launcher.java @@ -0,0 +1,13 @@ +package luke; + +import javafx.application.Application; + +/** + * A launcher class to workaround classpath issues. + */ +public class Launcher { + public static void main(String[] args) { + Application.launch(Luke.class, args); + } + +} diff --git a/src/main/java/luke/Luke.java b/src/main/java/luke/Luke.java index 04c073353f..71bca7c357 100644 --- a/src/main/java/luke/Luke.java +++ b/src/main/java/luke/Luke.java @@ -1,5 +1,18 @@ package luke; +import javafx.application.Application; +import javafx.scene.Scene; +import javafx.scene.control.Button; +import javafx.scene.control.Label; +import javafx.scene.control.ScrollPane; +import javafx.scene.control.TextField; +import javafx.scene.image.Image; +import javafx.scene.image.ImageView; +import javafx.scene.layout.AnchorPane; +import javafx.scene.layout.Region; +import javafx.scene.layout.VBox; +import javafx.stage.Stage; + import luke.exception.FileException; import luke.exception.LukeException; import luke.parser.Parser; @@ -9,12 +22,21 @@ /** * Represents the main class of the program. */ -public class Luke { +public class Luke extends Application { + private ScrollPane scrollPane; + private VBox dialogContainer; + private TextField userInput; + private Button sendButton; + private Scene scene; + private Storage storage; private Ui ui; private TaskList tasks; private static final String FILE_PATH = "./src/main/data/luke.txt"; + private Image user = new Image(this.getClass().getResourceAsStream("/images/user.jpeg")); + private Image luke = new Image(this.getClass().getResourceAsStream("/images/luke.jpeg")); + /** * Constructor for Luke that initializes the Ui, Storage and TaskList. * @@ -33,27 +55,44 @@ public Luke(String filePath) { } + /** + * Constructor for Luke that initializes the Ui, Storage and TaskList for the GUI + */ + public Luke() { + ui = new Ui(); + storage = new Storage(FILE_PATH); + try { + tasks = new TaskList(storage.readTask()); + + } catch (FileException e) { + ui.getErrorMessage(e.getMessage()); + tasks = new TaskList(); + } + + } + /** * Runs the program. */ public void run() { // Greetings - ui.welcome(); + System.out.println(ui.welcome()); boolean isExit = false; Parser parser = new Parser(""); + String response = ""; // Conditions while (!isExit) { String inputString = ui.readCommand(); parser.setInput(inputString); - parser.parse(tasks, ui, storage); + response = parser.parse(tasks, ui, storage); isExit = parser.isExit(); } // Bye and exits - ui.goodbye(); + System.out.println(response); } /** @@ -66,4 +105,103 @@ public static void main(String[] args) throws LukeException { new Luke(FILE_PATH).run(); } + + @Override + public void start(Stage stage) { + AnchorPane mainLayout = formatStage(stage); + formatDialogBox(stage, mainLayout); + + //Step 3. Add functionality to handle user input. + sendButton.setOnMouseClicked((event) -> { + handleUserInput(); + }); + + userInput.setOnAction((event) -> { + handleUserInput(); + }); + + //Scroll down to the end every time dialogContainer's height changes. + dialogContainer.heightProperty().addListener((observable) -> scrollPane.setVvalue(1.0)); + + + } + + private AnchorPane formatStage(Stage stage) { + //Step 1. Setting up required components + // Referred to https://se-education.org/guides/tutorials/javaFxPart2.html and used the code + scrollPane = new ScrollPane(); + dialogContainer = new VBox(); + scrollPane.setContent(dialogContainer); + + userInput = new TextField(); + sendButton = new Button("Send"); + + AnchorPane mainLayout = new AnchorPane(); + mainLayout.getChildren().addAll(scrollPane, userInput, sendButton); + + scene = new Scene(mainLayout); + + stage.setScene(scene); + stage.show(); + + return mainLayout; + + } + + + private void formatDialogBox(Stage stage, AnchorPane mainLayout) { + //Step 2. Formatting the window to look as expected + stage.setTitle("Luke"); + stage.setResizable(false); + stage.setMinHeight(600.0); + stage.setMinWidth(400.0); + + mainLayout.setPrefSize(400.0, 600.0); + + scrollPane.setPrefSize(385, 535); + scrollPane.setHbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); + scrollPane.setVbarPolicy(ScrollPane.ScrollBarPolicy.ALWAYS); + + scrollPane.setVvalue(1.0); + scrollPane.setFitToWidth(true); + dialogContainer.setPrefHeight(Region.USE_COMPUTED_SIZE); + userInput.setPrefWidth(325.0); + sendButton.setPrefWidth(55.0); + + AnchorPane.setTopAnchor(scrollPane, 1.0); + + AnchorPane.setBottomAnchor(sendButton, 1.0); + AnchorPane.setRightAnchor(sendButton, 1.0); + + AnchorPane.setLeftAnchor(userInput, 1.0); + AnchorPane.setBottomAnchor(userInput, 1.0); + + Label lukeText = new Label(ui.welcome()); + dialogContainer.getChildren().addAll( + DialogBox.getLukeDialog(lukeText, new ImageView(luke)) + ); + } + + private void handleUserInput() { + Label userText = new Label(userInput.getText()); + Label lukeText = new Label(getResponse()); + + dialogContainer.getChildren().addAll( + DialogBox.getUserDialog(userText, new ImageView(user)), + DialogBox.getLukeDialog(lukeText, new ImageView(luke)) + ); + + if (userInput.getText().equals("bye")) { + System.exit(0); + } + userInput.clear(); + } + + private String getResponse() { + String input = userInput.getText(); + Parser parser = new Parser(input); + return parser.parse(tasks, ui, storage); + + } + } diff --git a/src/main/java/luke/exception/LukeException.java b/src/main/java/luke/exception/LukeException.java old mode 100755 new mode 100644 diff --git a/src/main/java/luke/exception/TaskException.java b/src/main/java/luke/exception/TaskException.java old mode 100755 new mode 100644 diff --git a/src/main/java/luke/parser/Parser.java b/src/main/java/luke/parser/Parser.java index 6db11b95a0..031a448915 100644 --- a/src/main/java/luke/parser/Parser.java +++ b/src/main/java/luke/parser/Parser.java @@ -8,6 +8,7 @@ import luke.task.*; import luke.ui.Ui; + /** * Represents a parser that parses the user input and executes the corresponding command. */ @@ -32,11 +33,11 @@ public Parser(String input) { * @param ui The user interface. * @param storage The storage of the tasks. */ - public void parse(TaskList list, Ui ui, Storage storage) { + public String parse(TaskList list, Ui ui, Storage storage) { if (isExit()) { - return; + return ui.goodbye(); } else if (this.input.equals("list")) { - ui.printList(list); + return ui.printList(list); } else if (this.input.contains("find")) { try { if (input.equals("find")) { @@ -47,10 +48,10 @@ public void parse(TaskList list, Ui ui, Storage storage) { // 5 is the index after "find ", so starts from index 5 String keyword = input.substring(5); TaskList foundList = list.find(keyword); - ui.printTaskFound(foundList); + return ui.printTaskFound(foundList); } catch (LukeException e) { - ui.getErrorMessage(e.getMessage()); + return ui.getErrorMessage(e.getMessage()); } } else if (this.input.contains("mark")) { @@ -61,6 +62,7 @@ public void parse(TaskList list, Ui ui, Storage storage) { } try { + String returnString = ""; String[] instruction = input.split(" "); String markOrUnmark = instruction[0]; @@ -77,27 +79,28 @@ public void parse(TaskList list, Ui ui, Storage storage) { if (markOrUnmark.equals("mark")) { list.get(index).markAsDone(); - ui.printTaskMarked(list.get(index)); + returnString = ui.printTaskMarked(list.get(index)); } else if (markOrUnmark.equals("unmark")) { list.get(index).markAsUndone(); - ui.printTaskMarked(list.get(index)); + returnString = ui.printTaskMarked(list.get(index)); } else { throw new LukeException("Hold up!! I am sorry, but I don't know what you mean by that :'("); } storage.writeTask(list); + return returnString; } catch (NumberFormatException | IndexOutOfBoundsException e) { throw new LukeException("Hold up!! Please enter a valid index after " + input.split(" ")[0] + "."); } catch (FileException e) { - ui.getErrorMessage(e.getMessage()); + return ui.getErrorMessage(e.getMessage()); } } catch (LukeException e) { - ui.getErrorMessage(e.getMessage()); + return ui.getErrorMessage(e.getMessage()); } } else if (input.contains("delete")) { try { @@ -107,6 +110,7 @@ public void parse(TaskList list, Ui ui, Storage storage) { } try { + String returnString = ""; String[] instruction = input.split(" "); String delete = instruction[0]; @@ -123,18 +127,18 @@ public void parse(TaskList list, Ui ui, Storage storage) { Task removedTask = list.get(index); list.remove(index); - ui.printTaskDeleted(removedTask, list.size()); - + returnString = ui.printTaskDeleted(removedTask, list.size()); storage.writeTask(list); + return returnString; } catch (NumberFormatException | IndexOutOfBoundsException e) { throw new LukeException("Hold up!! Please enter a valid index after delete."); } catch (FileException e) { - ui.getErrorMessage(e.getMessage()); + return ui.getErrorMessage(e.getMessage()); } } catch (LukeException e) { - ui.getErrorMessage(e.getMessage()); + return ui.getErrorMessage(e.getMessage()); } } else { @@ -188,12 +192,12 @@ public void parse(TaskList list, Ui ui, Storage storage) { } storage.writeTask(list); - ui.printTaskAdded(list.get(list.size() - 1), list.size()); + return ui.printTaskAdded(list.get(list.size() - 1), list.size()); } catch (LukeException | TaskException | FileException e) { - ui.getErrorMessage(e.getMessage()); + return ui.getErrorMessage(e.getMessage()); } catch (DateException e) { - ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as " + return ui.getErrorMessage(e.getMessage() + "\nPlease enter the date in proper format such as " + "dd/MM/yyyy or yyyy-MM-dd\nYou can also enter the time in 24-hour format such as " + "HH[:MM] after the date"); } diff --git a/src/main/java/luke/ui/Ui.java b/src/main/java/luke/ui/Ui.java index 1d3ccf558a..6e49a3f63c 100644 --- a/src/main/java/luke/ui/Ui.java +++ b/src/main/java/luke/ui/Ui.java @@ -5,11 +5,14 @@ import java.util.Scanner; +import static java.lang.Thread.sleep; + /** * Represents the user interface of the application. */ public class Ui { Scanner sc; + private static final String LINE = "_________________________________________________________"; /** * Constructs an Ui object, where the scanner is initialised. */ @@ -21,21 +24,17 @@ public Ui() { /** * Prints the welcome message when the application starts. */ - public void welcome() { - System.out.println("________________________________________________________________________"); - System.out.println("Hello! I'm Luke.Luke"); - System.out.println("What can I do for you?"); - System.out.println("________________________________________________________________________"); + public String welcome() { + return LINE + "\nHello! I'm Luke!\nWhat can I do for you?\n" + LINE; } /** * Prints the goodbye message when the application exits. */ - public void goodbye() { - System.out.println("________________________________________________________________________"); - System.out.println("Bye! Hope to see you again soon!"); - System.out.println("________________________________________________________________________"); + public String goodbye() { + return LINE + "\nBye! Hope to see you again soon!\n" + LINE; + } /** @@ -43,10 +42,9 @@ public void goodbye() { * * @param message The error message to be printed. */ - public void getErrorMessage(String message) { - System.out.println("________________________________________________________________________"); - System.out.println(message); - System.out.println("________________________________________________________________________"); + public String getErrorMessage(String message) { + return LINE + "\n" + message + "\n" + LINE; + } /** @@ -54,17 +52,19 @@ public void getErrorMessage(String message) { * * @param tasks The TaskList to be printed. */ - public void printList(TaskList tasks) { - System.out.println("________________________________________________________________________"); - System.out.println("Here are the tasks in your list:"); + public String printList(TaskList tasks) { + StringBuilder listString = new StringBuilder(); + listString = new StringBuilder(LINE + "\nHere are the tasks in your list:\n"); for (int i = 0; i < tasks.size(); i++) { if (tasks.get(i) != null) { - System.out.println(i + 1 + "." + tasks.get(i)); + String taskString = i + 1 + "." + tasks.get(i); + listString.append(taskString).append("\n"); } } - System.out.println("________________________________________________________________________"); + listString.append(LINE); + return listString.toString(); } /** @@ -72,17 +72,16 @@ public void printList(TaskList tasks) { * * @param task The task that is marked or unmarked. */ - public void printTaskMarked(Task task) { + public String printTaskMarked(Task task) { String status = ""; if (task.getIsDone()) { status = "done:"; } else { status = "not done yet:"; } - System.out.println("________________________________________________________________________"); - System.out.println("Nice! I've marked this task as " + status); - System.out.println(task); - System.out.println("________________________________________________________________________"); + + return LINE + "\nNice! I've marked this task as " + status + "\n" + task + "\n" + LINE; + } /** @@ -91,7 +90,7 @@ public void printTaskMarked(Task task) { * @param task The task that is added. * @param size The size of the TaskList. */ - public void printTaskAdded(Task task, int size) { + public String printTaskAdded(Task task, int size) { String taskStringType = ""; if (size > 1) { taskStringType = "tasks"; @@ -99,11 +98,9 @@ public void printTaskAdded(Task task, int size) { taskStringType = "task"; } - System.out.println("________________________________________________________________________"); - System.out.println("Got it! I've added this task:"); - System.out.println(task); - System.out.println("Now you have " + size + " " + taskStringType + " in the list."); - System.out.println("________________________________________________________________________"); + return LINE + "\nGot it! I've added this task:\n" + task + "\nNow you have " + size + " " + + taskStringType + " in the list.\n" + LINE; + } /** @@ -112,7 +109,7 @@ public void printTaskAdded(Task task, int size) { * @param task The task that is deleted. * @param size The size of the TaskList. */ - public void printTaskDeleted(Task task, int size) { + public String printTaskDeleted(Task task, int size) { String taskStringType = ""; if (size > 1) { taskStringType = "tasks"; @@ -120,11 +117,9 @@ public void printTaskDeleted(Task task, int size) { taskStringType = "task"; } - System.out.println("________________________________________________________________________"); - System.out.println("Noted! I've removed this task:"); - System.out.println(task); - System.out.println("Now you have " + size + " " + taskStringType + " in the list."); - System.out.println("________________________________________________________________________"); + return LINE + "\nNoted! I've removed this task:\n" + task + "\nNow you have " + size + " " + + taskStringType + " in the list.\n" + LINE; + } /** @@ -137,14 +132,18 @@ public String readCommand() { } - public void printTaskFound(TaskList tasks) { - System.out.println("________________________________________________________________________"); - System.out.println("Here are the matching tasks in your list:"); + public String printTaskFound(TaskList tasks) { + StringBuilder foundString = new StringBuilder(); + foundString = new StringBuilder(LINE + "\nHere are the matching tasks in your list:\n"); + for (int i = 0; i < tasks.size(); i++) { if (tasks.get(i) != null) { - System.out.println(i + 1 + "." + tasks.get(i)); + String taskString = i + 1 + "." + tasks.get(i); + foundString.append(taskString).append("\n"); } } - System.out.println("________________________________________________________________________"); + foundString.append(LINE); + return foundString.toString(); + } } diff --git a/src/main/resources/view/DialogBox.fxml b/src/main/resources/view/DialogBox.fxml new file mode 100644 index 0000000000..59d16ac91a --- /dev/null +++ b/src/main/resources/view/DialogBox.fxml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/src/main/resources/view/MainWindow.fxml b/src/main/resources/view/MainWindow.fxml new file mode 100644 index 0000000000..745c2095b6 --- /dev/null +++ b/src/main/resources/view/MainWindow.fxml @@ -0,0 +1,19 @@ + + + + + + + + + + + +