public class PeertubeCommentsInfoItemExtractor extends Object implements CommentsInfoItemExtractor
Constructor and Description |
---|
PeertubeCommentsInfoItemExtractor(com.grack.nanojson.JsonObject item,
PeertubeCommentsExtractor extractor) |
Modifier and Type | Method and Description |
---|---|
String |
getCommentId() |
String |
getCommentText()
The text of the comment
|
String |
getName() |
String |
getTextualUploadDate()
The upload date given by the service, unmodified
|
String |
getThumbnailUrl() |
DateWrapper |
getUploadDate()
The upload date wrapped with DateWrapper class
|
String |
getUploaderAvatarUrl() |
String |
getUploaderName() |
String |
getUploaderUrl() |
String |
getUrl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLikeCount, getReplies, getStreamPosition, getTextualLikeCount, isHeartedByUploader, isPinned, isUploaderVerified
public PeertubeCommentsInfoItemExtractor(com.grack.nanojson.JsonObject item, PeertubeCommentsExtractor extractor) throws ParsingException
ParsingException
public String getUrl() throws ParsingException
getUrl
in interface InfoItemExtractor
ParsingException
public String getThumbnailUrl()
getThumbnailUrl
in interface InfoItemExtractor
public String getName() throws ParsingException
getName
in interface InfoItemExtractor
ParsingException
public String getTextualUploadDate() throws ParsingException
CommentsInfoItemExtractor
getTextualUploadDate
in interface CommentsInfoItemExtractor
ParsingException
StreamExtractor.getTextualUploadDate()
public DateWrapper getUploadDate() throws ParsingException
CommentsInfoItemExtractor
getUploadDate
in interface CommentsInfoItemExtractor
ParsingException
StreamExtractor.getUploadDate()
public String getCommentText() throws ParsingException
CommentsInfoItemExtractor
getCommentText
in interface CommentsInfoItemExtractor
ParsingException
public String getCommentId()
getCommentId
in interface CommentsInfoItemExtractor
public String getUploaderAvatarUrl()
getUploaderAvatarUrl
in interface CommentsInfoItemExtractor
public String getUploaderName() throws ParsingException
getUploaderName
in interface CommentsInfoItemExtractor
ParsingException
public String getUploaderUrl() throws ParsingException
getUploaderUrl
in interface CommentsInfoItemExtractor
ParsingException