file processing

i have a list of names (names.txt) and i can print all of them using scanner console. my problem is i wanted the program to work like when i type the name "jordan" only the jordan name and its stats will be printed. any suggestions?
[239 byte] By [colblizza] at [2007-10-2 4:47:33]
# 1
Store names and the associated stats in a HashMap, using the name as the key. Then when the user type the name, retrieve the stats from the map value and display them along with the name.You need to show some code to do anything more..
ChuckBinga at 2007-7-16 0:52:20 > top of Java-index,Java Essentials,Java Programming...
# 2

here's my code so far:

import java.io.*;

import java.util.*;

import java.awt.*;

public class BabyNames {

public static void main (String [] args) throws FileNotFoundException {

Scanner console = new Scanner(System.in);

Scanner input = new Scanner(new File("names.txt"));

while (input.hasNext()) {

String names = input.nextLine();

System.out.println(names);

here's a sample of lists of names in names.txt

the numbers are the popularity rating of the name each decade (1950 - 2000)

Muze 100 0 0 230 320

Eryzle0 10 20 30 10

Rica122334 45 45

now my program is printing all of them. what i want is to type a name(for example eryzle) and it will print only eryzle along with the stats.

im new to java so i would appreciate to use simple words or make a code as a suggestion.ty

colblizza at 2007-7-16 0:52:20 > top of Java-index,Java Essentials,Java Programming...