Code:
public class JPLCode {
public String detailsIn(String fileIn)
{
try
{
FileReader file = new FileReader(fileIn);
BufferedReader br=new BufferedReader (file);
String hb = null;
String host = null;
int port = 7600;
while ((host = br.readLine())!=null)
hb = ("http://" +host+ ":" +port);
br.close();
return