Initial Commit

Initial commit of project.
This commit is contained in:
Alex Stewart
2019-03-09 01:21:44 -08:00
parent e54e9653ed
commit 13420951b1
124 changed files with 5883 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
package core;
public class GenericImage
{
private String artist;
private String postURL;
private String imageURL;
public GenericImage(String artist, String postURL, String imageURL)
{
this.artist = artist;
this.postURL = postURL;
this.imageURL = imageURL;
}
public void editArtist(String artist)
{
this.artist = artist;
}
public void editPostURL(String postURL)
{
this.postURL = postURL;
}
public void editImageURL(String imageURL)
{
this.imageURL = imageURL;
}
public String toString()
{
if(imageURL.isEmpty())
{
return "I couldn't find anything! Please try again!";
}
return "Artist: " + artist + "\n<" + postURL.trim() + ">\n" + imageURL;
}
}