Skip to content
Snippets Groups Projects

Daofix

Merged Matilde Volle Fiborg requested to merge daofix into map-stuff
25 files
+ 706
1026
Compare changes
  • Side-by-side
  • Inline
Files
25
@@ -10,15 +10,15 @@ import java.net.URLConnection;
/**
* Class ImageAnalyzer
*/
public class ImageAnalyzer {
/**
* Used to analyze an image
*
* @param url Is the url to where the image is saved
* @return A Picture object that contains all the image metadata of the image
* T * @throws IOException Is thrown if there is something wrong with the url
* @throws NullPointerException Is thrown when if some of the metadata that cant be null, is set to null
* @param url the image URL
* @return a picture
* @throws IOException Is thrown if there is something wrong with the url
* @throws NullPointerException Is thrown if some of the metadata that cant be null, is null
*/
public static Picture analyze(String url) throws IOException, NullPointerException {
URL path = new URL(url);
Loading