if (imageResource.getName().startsWith(".")) {
if (imageResource.getDisplayName().startsWith(".")) {
	private WebdavResource getRandomResource(WebdavResource[] resources) {    int num = (int) (Math.random() * resources.length);    WebdavResource imageResource = resources[num];    if (imageResource.getName().startsWith(".")) {    		return getRandomResource(resources);    }    return imageResource;	}