I've tried making this as short as possible: Let me know if you need more.
Appreciate you guys looking into this.
dataFile is of type
String, that's what getFileWithExtension returns.
ICONFEED is of Properties type.
Program does not makes it beyond the while.
.
.
.
while ((dataFile = getFileWithExtension(dirPath, fileExt))!= null )
{
if (dataFile == null)
System.out.println(dataFile + "not found!");
System.out.println("File: " + dataFile);
FileInputStream fisdat = new FileInputStream(dataFile);
boolean Renresult = copyFile(dirPath,logDir);
System.out.println("Moving" + dataFile);
ICONFEED.load(fisdat);
System.out.println("Loaded " + fisdat);
System.out.println("Processing: " + dataFile);
("Reading dataFile " + dataFile);
System.out.println("Reading properties");
Feed = ICONFEED.getProperty("FEED");
}
System.out.println("No more files to process!");