import java.io.*;
class RFC{ // Read File Contents ( 텍스트 파일을 읽어 cmd 에 읽는다. )
FileReader fr;
BufferedReader br;
String fileName = "NameList.txt";
String line;
void read(){
try{
fr = new FileReader(fileName);
br = new BufferedReader(fr);
while((line = br.readLine()) != null){
line = line.trim();
if(line.length() != 0){
System.out.println("line : " + line);
}
}
}catch(FileNotFoundException fnfe){
System.out.println("[ " + fileName + " ] : Can Not Found ");
}catch(IOException ioe){}
}
public static void main(String[] args){
new RFC().read();
}
}