The Artima Developer Community
Sponsored Link

Java Answers Forum
Help Please........

1 reply on 1 page. Most recent reply: Jun 9, 2003 6:45 AM by M.Murugeswaran

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Sujesh.S.Nair

Posts: 3
Nickname: deepu
Registered: May, 2003

Help Please........ Posted: May 27, 2003 2:00 AM
Reply to this message Reply
Advertisement
Hi Friends,
I shall be thankfull if u could help me with this program as the dead line is almost over.
A text file contains details of e-mail users.A single line contains details of the single user.Width of a Single line is 80 characters & the 80th character is a verticalbar.
I require a program that changes the password of an existing user satisfying the following
(i)when storing new password the lgth of the line should not exceed 80 characters
(ii)provison for checking invalid username & password
(iii)accept username & password,replace oldpassword with new password when username & old password match.
txtfileformat
username,password,firstname,lastname,department........... ..|(Total 80 characters width,last character is a vertical bar.
I did use String tokenizer but iam not able to check the output of streamtokenizer with user input.
Expecting u'r valuable ideas.
thanx & rgds
sujesh


M.Murugeswaran

Posts: 7
Nickname: mmuruges
Registered: Jun, 2003

Re: Help Please........ Posted: Jun 9, 2003 6:45 AM
Reply to this message Reply
Use Regexp that comes with jdk1.4(java.util.regex package). For examples refer http://jakarta.apache.org.

Flat View: This topic has 1 reply on 1 page
Topic: What is Rich Client? Previous Topic   Next Topic Topic: help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use