how to read a file for information from java main function??
I am doing a project on network intrusion detection using java.I am using DB-scan algorithm to see what are the drawbacks of the same.now I need to form clusters from any data file to see for anomalies in that.I am not able to read the data files.Also after reading the file i need to make the info" into some x,y co-ordinates and to draw them into graph.So i am not able to get any idea on the same.please help me....!!
Re: how to read a file for information from java main function??
talking about text top read,you may use FileReader class and FileWriter Class from java.io. package that works better