Package edu.pdx.cs410J.grader
Class Survey
java.lang.Object
edu.pdx.cs410J.grader.EmailSender
edu.pdx.cs410J.grader.Survey
This program presents a survey that all students in CS410J should
answer. It emails the results of the survey to the TA and emails a
receipt back to the student.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.pdx.cs410J.grader.EmailSender
EmailSender.NewEmail
-
Field Summary
Fields inherited from class edu.pdx.cs410J.grader.EmailSender
DAVE_EMAIL, serverName, TA_EMAIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static String
breakUpInto80CharacterLines
(String message) (package private) static boolean
isEmailAddress
(String id) (package private) static boolean
static void
(package private) static void
setValueIfNotEmpty
(String string, Consumer<String> setter) (package private) void
takeSurvey
(String... args) Methods inherited from class edu.pdx.cs410J.grader.EmailSender
newEmailSession, newEmailTo, newInternetAddress, setEmailServerPort
-
Field Details
-
STUDENT_XML_FILE_NAME
- See Also:
-
-
Constructor Details
-
Survey
-
-
Method Details
-
main
-
takeSurvey
-
isEmailAddress
-
isJavaIdentifier
-
setValueIfNotEmpty
-
breakUpInto80CharacterLines
-