* @see javax.servlet.ServletContext#getResourcePaths(java.lang.String)
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
public Set getResourcePaths(String path) {
String actualPath = (path.endsWith("/") ? path : path + "/");
Resource resource = this.resourceLoader.getResource(getResourceLocation(actualPath));
try {
File file = resource.getFile();
String[] fileList = file.list();
if (fileList == null || fileList.length == 0) {
return null;
}
Set resourcePaths = new LinkedHashSet(fileList.length);