In order to solve this, you need to understand the difference between string and characters. You can probably think of many other possible applications for such a program. I would like to save that page to a file, run your Email.java program, open its output file, and copy/paste the entire list from the file into the "to", "cc", or "bcc" field of a message to be sent to all students in my class. The roster is a table with names, email addresses, student IDs, etc. Here's another example - computer science department provides me with a roster of students in my class. Using your new Email.java program, I could save the web page containing the directory listing to a file, run the program, open its output file, and copy/paste the entire list from the file into the into the "to", "cc", or "bcc" field. To send a single email message to everyone in the department, I have to copy/paste each email address individually from the directory into the "to", "cc", or "bcc" field of my email message. The application of the program is to make it easier to enter email addresses into an email message that is to be sent to a list of recipients, when those recipients are not already in a contacts list.įor example, the Electrical Engineering and Computer Sciences Home Page (has a "Directory" link. The purpose of the program is to extract email addresses embedded in the first (input) text file, and copy them to the second (output) text file. Write a program named Email.java in a package named compsci61b.project1 that opens and reads a text file and writes another text file. CompSci-61B Term Project 1, Email Address Parser CompSci-61B Term Project 1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |