Introduction
Here is the source code for Main.java
Source
//package com.java2s;
import java.io.File;
public class Main {
private final static boolean looksLikeImage(File src) {
String n = src.getName().toLowerCase();
return (n.endsWith(".jpg") || n.endsWith(".png") || n.endsWith(".gif"));
}
}