synopsis on contact management system in java
#1

please send me the proposal on contact management system project.my email id is.............. umi_45[at]yahoo.com.its very very urgent please.
Reply
#2
synopsis on contact management system in java

Contact management system project is implemented in java platform. This project is useful for storing details like username, phone number, password, and email address. In present scenario most of the contacts are stored in cell phones and ipads..etc. But there are many cases where when mobile or ipad is lost most of the contacts are lost. This application will helpful in this condition for saving contacts with these details. Data is stored in database which can be easily retrieved.

CONTACT MANAGMENT SYSTEM IN JAVA
PROJECT DEFINITION:

Contact Management System is an application that enables user to create and Store new Contacts .The application stores the detail of the employees and other persons that are associated with an organization.The organization has a department that provides the information about every person that is associated with an organization.

OBJECTIVES:
The prime objective of the project is to computerize the work of an fee management staff so as to reduce the overheads.The main objectives of this project is to maximize the computer approach, reduce errors and to utilize the time.

Project Summary:

The management of the company decided to store the personal details of all its employees. For this they have to use an application that can fulfill their requirements of a digital diary and should store the various details of all its employees:

The requirements of a organization can vary according to their needs …we are using here some common details.

Address
Email address
Phone number
Birthdays
Reminders
Anniversary details
In this project you can store new information or retrive the already stored information about a person or an employee just by entering his/her name.


import java.io.*;
import java.util.*;

public class ContactList {

public static void main(String args[]) throws IOException {
Contact contact;
contact = new Contact();
int action = 0;

ArrayList<Contact> contacts = new ArrayList<Contact>();
while (action != 6) {

System.out.println("\nWelcome to Contact List DB. "
+ "What would you like to do? \n");

System.out.println("1. Enter a new person" + "\n"
+ "2. Print the contact list" + "\n"
+ "3. Retrieve a person's information by last name" + "\n"
+ "4. Retrieve a person's information by email address" + "\n"
+ "5. Retrieve all people who live in a given zip code" + "\n"
+ "6. Exit");
Scanner reader = new Scanner(System.in);
reader.useDelimiter("\n");
action = reader.nextInt();

if (action <= 0 || action > 6) {
System.out.println("Invalid selection. ");

}

switch (action) {

case 1: {

System.out.println("\nEnter Contact Last Name:");
String lastname = reader.next();
if (lastname == null) {
System.out.println("\nInvalid entry. ");
break;
}

else {
contact.setLastName(lastname.toLowerCase());
}
System.out.println("Enter Contact First Name: ");
String firstname = reader.next();
contact.setFirstName(firstname.toLowerCase());
System.out.println("Enter Contact Street Address: ");
String address = reader.next();
contact.setHouseAddress(address.toLowerCase());
System.out.println("Enter Contact City: ");
String city = reader.next();
contact.setCity(city.toLowerCase());
System.out.println("Enter Contact Zip Code: ");
String zip = reader.next();
contact.setZip(zip.toLowerCase());
System.out.println("Enter Contact Email: ");
String email = reader.next();
contact.setEmail(email.toLowerCase());
System.out.println("Enter Contact Phone Number: ");
String phone = reader.next();
contact.setPhone(phone.toLowerCase());
System.out.println("Enter Contact Notes: ");
String notes = reader.next();
contact.setNotes(notes.toLowerCase());

contacts.add(contact);

try {

Contact c = contact;

File file = new File("contactlist.csv");

// If file doesn't exists, then create it.
if (!file.exists()) {
file.createNewFile();
}

try (PrintWriter output = new PrintWriter(new FileWriter(
"contactlist.csv", true))) {
output.printf("%s\r\n", c);
} catch (Exception e) {
}

System.out.println("Your contact has been saved.");
}

catch (IOException e) {
e.printStackTrace();
}
}

break;


case 2: {

int counter = 0;
String line = null;

// Location of file to read
File file = new File("contactlist.csv");

// Sort contacts and print to console
try {

Scanner scanner = new Scanner(file);

// Before printing, add each line to a sorted set. by Seth
// Copeland
Set<String> lines = new TreeSet<>();
while (scanner.hasNextLine()) {
line = scanner.nextLine();
lines.add(line);
counter++;

}

// Print sorted contacts to console.
for (String fileLine : lines) {
String outlook = fileLine.substring(0, 1).toUpperCase()
+ fileLine.substring(1);
System.out.println(outlook);

}


scanner.close();

} catch (FileNotFoundException e) {

}
System.out.println("\n" + counter + " contacts in records.");

}

break;


case 3:

try {
System.out.println("\nEnter the last"
+ "name to search for: ");
String searchterm = reader.next();

// Open the file as a buffered reader
BufferedReader bf = new BufferedReader(new FileReader(
"contactlist.csv"));

// Start a line count and declare a string to hold our
// current line.
int linecount = 0;
String line;

// Let the user know what we are searching for
System.out.println("Searching for " + searchterm
+ " in file...");
// Loop through each line, putting the line into our line
// variable.
boolean noMatches = true;
while ((line = bf.readLine()) != null) {
// Increment the count and find the index of the word.
linecount++;
int indexfound = line.indexOf(searchterm.toLowerCase());

// If greater than -1, means we found a match.
if (indexfound > -1) {
System.out.println("\nContact was FOUND\n"
+ "\nContact " + linecount + ": " + line);
noMatches = false;
}

}

// Close the file after done searching
bf.close();
if (noMatches) {
System.out.println("\nNO MATCH FOUND.\n");
}
}

catch (IOException e) {
System.out.println("IO Error Occurred: " + e.toString());
}

break;


case 4:

try {
System.out.println("\nEnter the email "
+ "address to search for: ");
String searchterm = reader.next();

// Open the file as a buffered reader
BufferedReader bf = new BufferedReader(new FileReader(
"contactlist.csv"));

// Start a line count and declare a string to hold our
// current line.
int linecount = 0;
String line;

// Let the user know what we are searching for
System.out.println("\nSearching for " + searchterm
+ " in file...");

// Loop through each line, put the line into our line
// variable.
boolean noMatches = true;
while ((line = bf.readLine()) != null) {

// Increment the count and find the index of the word
linecount++;
int indexfound = line.indexOf(searchterm.toLowerCase());

// If greater than -1, means we found a match
if (indexfound > -1) {
System.out.println("\nContact was FOUND\n"
+ "\nContact " + linecount + ": " + line);
noMatches = false;
}

}
// Close the file after done searching
bf.close();
if (noMatches) {
System.out.println("\nNO MATCH FOUND.\n");
}

}

catch (IOException e) {
System.out.println("IO Error Occurred: " + e.toString());
}

break;


case 5:

try {
System.out.println("\nEnter the Zipcode to search for: ");
String searchterm = reader.next();

// Open the file as a buffered reader
BufferedReader bf = new BufferedReader(new FileReader(
"contactlist.csv"));

// Start a line count and declare a string to hold our
// current line.
int linecount = 0;
String line;

// Let the user know what we are searching for
System.out.println("\nSearching for " + searchterm
+ " in file...");

// Loop through each line, stashing the line into our line
// variable.
boolean noMatches = true;
while ((line = bf.readLine()) != null) {

// Increment the count and find the index of the word.
linecount++;
int indexfound = line.indexOf(searchterm.toLowerCase());

// If greater than -1, means we found a match.
if (indexfound > -1) {
System.out.println("\nContact was FOUND\n"
+ "\nContact " + linecount + ": " + line);
noMatches = false;
}
}
// Close the file after done searching
bf.close();
if (noMatches) {
System.out.println("\nNO MATCH FOUND.\n");
}
}

catch (IOException e) {
System.out.println("IO Error Occurred: " + e.toString());
}

break;
}
}
}
}
And here's Contact.java

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

public class Contact {
private String lastname, firstname, address, city, zip, email, phone,
notes;

public Contact(String lastnamename, String firstname, String address,
String city, String zip, String email, String phone, String notes,
String lastname) {
this.lastname = lastname;
this.firstname = firstname;
this.address = address;
this.city = city;
this.zip = zip;
this.email = email;
this.phone = phone;
this.notes = notes;
}

public Contact() {

}

// overrides the default Object method
public String toString() {
return lastname + ", " + firstname + ", " + address + ", " + city
+ ", " + zip + ", " + email + ", " + phone + ", " + notes;
}

/*
* Sets the value for lastname to "s".
*/
public void setLastName(String s) {
lastname = s;
}

/*
* Returns the value of lastname.
*/
public String getLastName() {
return lastname;
}

/*
* Sets the value for firstname to "a".
*/
public void setFirstName(String a) {
firstname = a;
}

/*
* Returns the value of firstname.
*/
public String getFirstName() {
return firstname;
}

/*
* Sets the value for address to "b".
*/
public void setHouseAddress(String b) {
address = b;
}

/*
* Returns the value of address.
*/
public String getHouseAdress() {
return address;
}

/*
* Sets the value for city to "c".
*/
public void setCity(String c) {
city = c;
}

/*
* Returns the value of city.
*/
public String getCity() {
return city;
}

/*
* Sets the value for zip to "d".
*/
public void setZip(String d) {
zip = d;
}

/*
* Returns the value of zip.
*/
public String getZip() {
return zip;
}

/*
* Sets the value for phone to "e".
*/
public void setPhone(String e) {
phone = e;
}

/*
* Returns the value of phone.
*/
public String getPhone() {
return phone;
}

/*
* Sets the value for email to "f".
*/
public void setEmail(String f) {
email = f;
}

/*
* Returns the value of email.
*/
public String getEmail() {
return email;
}

/*
* Sets the value for notes to "g".
*/
public void setNotes(String g) {
notes = g;
}

/*
* Returns the value of notes.
*/
public String getNotes() {
return notes;
}

public void read() {

}

static void write() {
// Writes contact info to file. -Damani
// ----------------------------------------------------------
try {
Contact contact;
contact = new Contact();
Contact c = contact;

File file = new File("contactlist.csv");

// If file doesn't exists, then create it.
if (!file.exists()) {
file.createNewFile();
}

try (PrintWriter output = new PrintWriter(new FileWriter(
"contactlist.csv", true))) {
output.printf("%s\r\n", c);
} catch (Exception e) {
}

System.out.println("Your contact has been saved.");
}

catch (IOException e) {
e.printStackTrace();
}
}
}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: mybatis resulttype string, synopsis on contact management system, synopsis report on contact management system pdf, contact management synopsis, contact management system in java, contact management system project documentation, kdm management contact,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  srs on textile management system 2 2,414 25-12-2018, 08:03 PM
Last Post: Selva lakshmi
  anna university result technical paper chasing member contact number 20 21,568 19-11-2018, 12:57 PM
Last Post:
  dfd for alumni management system 1 2,812 23-09-2018, 12:00 PM
Last Post: Guest
  ice cream parlour management system in vb source code 4 5,272 04-04-2018, 11:58 PM
Last Post: vprk77
  dwt code in java for image 2 6,343 24-03-2018, 10:06 PM
Last Post: Guest
  online shopping management system project pdf 1 3,839 14-02-2018, 02:55 PM
Last Post: jai kumar maurya
  source code for hospital management system in jsp 4 1,945 13-01-2018, 10:51 AM
Last Post: dhanabhagya
  synopsis of project gas agency management system 5 3,267 08-01-2018, 06:15 AM
Last Post: Guest
Thumbs Up online hospital management system in jsp servlet free download 2 5,289 07-01-2018, 09:32 AM
Last Post: RaymondGom
  synopsis for jewellery shop management system 3 11,341 07-01-2018, 08:07 AM
Last Post: RaymondGom

Forum Jump: