监测url是否包含图片
URLConnection connection = new URL("http://foo.bar/3afv").openConnection();?String contentType = connection.getHeaderField("Content-Type");?boolean image = contentType.startsWith("image/");?