public interface CommentsInfoItemExtractor extends InfoItemExtractor
Modifier and Type | Method and Description |
---|---|
default String |
getCommentId() |
default String |
getCommentText()
The text of the comment
|
default int |
getLikeCount()
Return the like count of the comment,
or
CommentsInfoItem.NO_LIKE_COUNT if it is unavailable. |
default Page |
getReplies()
The continuation page which is used to get comment replies from.
|
default int |
getStreamPosition()
The playback position of the stream to which this comment belongs.
|
default String |
getTextualLikeCount()
The unmodified like count given by the service
It may be language dependent |
default String |
getTextualUploadDate()
The upload date given by the service, unmodified
|
default DateWrapper |
getUploadDate()
The upload date wrapped with DateWrapper class
|
default String |
getUploaderAvatarUrl() |
default String |
getUploaderName() |
default String |
getUploaderUrl() |
default boolean |
isHeartedByUploader()
Whether the comment has been hearted by the uploader
|
default boolean |
isPinned()
Whether the comment is pinned
|
default boolean |
isUploaderVerified()
Whether the uploader is verified by the service
|
getName, getThumbnailUrl, getUrl
default int getLikeCount() throws ParsingException
CommentsInfoItem.NO_LIKE_COUNT
if it is unavailable.
YoutubeCommentsInfoItemExtractor.getLikeCount()
with limitations (only approximate like count is returned)CommentsInfoItem.NO_LIKE_COUNT
if it is unavailableParsingException
StreamExtractor.getLikeCount()
default String getTextualLikeCount() throws ParsingException
ParsingException
default String getCommentText() throws ParsingException
ParsingException
default String getTextualUploadDate() throws ParsingException
ParsingException
StreamExtractor.getTextualUploadDate()
@Nullable default DateWrapper getUploadDate() throws ParsingException
ParsingException
StreamExtractor.getUploadDate()
default String getCommentId() throws ParsingException
ParsingException
default String getUploaderUrl() throws ParsingException
ParsingException
default String getUploaderName() throws ParsingException
ParsingException
default String getUploaderAvatarUrl() throws ParsingException
ParsingException
default boolean isHeartedByUploader() throws ParsingException
ParsingException
default boolean isPinned() throws ParsingException
ParsingException
default boolean isUploaderVerified() throws ParsingException
ParsingException
default int getStreamPosition() throws ParsingException
ParsingException
CommentsInfoItem.getStreamPosition()
@Nullable default Page getReplies() throws ParsingException
ParsingException