Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PictureIt
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Collab á la ølløv
PictureIt
Merge requests
!121
Daofix
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Daofix
daofix
into
map-stuff
Overview
0
Commits
4
Pipelines
0
Changes
25
Merged
Matilde Volle Fiborg
requested to merge
daofix
into
map-stuff
4 years ago
Overview
0
Commits
4
Pipelines
0
Changes
25
Expand
0
0
Merge request reports
Compare
map-stuff
map-stuff (base)
and
latest version
latest version
8ab754a5
4 commits,
4 years ago
25 files
+
706
−
1026
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
25
Search (e.g. *.vue) (Ctrl+P)
src/App/Components/ImageAnalyzer.java
+
5
−
5
Options
@@ -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 P
icture
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 p
icture
* @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