public class BabelImage extends Object implements Comparable<BabelImage>
Constructor and Description |
---|
BabelImage(String title,
String language,
String url,
String thumbUrl,
String source,
String license,
boolean isBad) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BabelImage o) |
boolean |
equals(Object o) |
Set<it.uniroma1.lcl.jlt.util.Language> |
getLanguages()
Gets the MediaWiki page languages for this image.
|
BabelLicense |
getLicense()
Returns the license for this Babel sense
|
String |
getName()
Gets the MediaWiki page name for this image.
|
BabelImageSource |
getSource()
Returns the source for this Babel sense
|
String |
getThumbURL()
Gets the thumb URL this image.
|
String |
getURL()
Gets the full URL this image.
|
String |
getValidatedThumbURL()
Deprecated.
use getThumbURL()
Gets a verified version of the Thumb URL this image. Checks whether
possible URLs of this image (including redirections)
|
String |
getValidatedURL()
Deprecated.
use getURL()
Gets a verified version of the full URL this image.
Checks whether possible URLs of this image (including redirections)
|
boolean |
isBadImage()
Is it a bad or censored image
|
String |
toString() |
public String getName()
public Set<it.uniroma1.lcl.jlt.util.Language> getLanguages()
public String getURL()
public String getThumbURL()
public boolean isBadImage()
@Deprecated public String getValidatedURL()
@Deprecated public String getValidatedThumbURL()
public BabelLicense getLicense()
public BabelImageSource getSource()
public int compareTo(BabelImage o)
compareTo
in interface Comparable<BabelImage>
Copyright © 2016. All rights reserved.