Packages that use Comment
Package
Description
I2P version of the Snark BitTorrent client, enhanced for I2P: peers are I2P destinations, torrents can be served anonymously as hidden services, and metadata carries I2P-specific comment fields.
Parsing and formatting of the I2P comment metadata stored in the comment field of torrent files, carrying the I2P destination and other per-torrent data.
The I2PSnark web interface (i2psnark.war): servlets and helpers for torrent management, file browsing and configuration.
Uses of Comment in org.klomp.snark
Method parameters in org.klomp.snark with type arguments of type CommentModifier and TypeMethodDescriptionbooleanSnark.addComments(List<Comment> comments) Add to the current comment set for this torrent, creating it if it didn't previously exist.voidPeerCoordinator.gotComments(Peer peer, List<Comment> comments) Called when comments are received via ut_comment.voidPeerListener.gotComments(Peer peer, List<Comment> comments) Called when comments are received via ut_comment.Uses of Comment in org.klomp.snark.comments
Subclasses with type arguments of type Comment in org.klomp.snark.commentsClasses in org.klomp.snark.comments that implement interfaces with type arguments of type CommentFields in org.klomp.snark.comments with type parameters of type CommentMethods in org.klomp.snark.comments that return CommentModifier and TypeMethodDescriptionstatic CommentComment.fromPersistentString(String s) Parses a comment from its persistent string representation.Methods in org.klomp.snark.comments that return types with arguments of type CommentModifier and TypeMethodDescriptionCommentSet.iterator()Returns an iterator over non-hidden comments in reverse-sort order (newest first).Methods in org.klomp.snark.comments with parameters of type CommentModifier and TypeMethodDescriptionbooleanAdds a comment to this set.private voidUpdates statistics when adding a comment.intCompares comments in reverse chronological order (newest first).booleanComment.equalsIgnoreTimestamp(Comment c) Checks equality ignoring the timestamp, comparing only rating, text, and name.private voidCommentSet.removeStats(Comment c) Updates statistics when removing a comment.Constructor parameters in org.klomp.snark.comments with type arguments of type CommentModifierConstructorDescriptionCommentSet(Collection<Comment> coll) Creates a CommentSet from a collection of comments.Uses of Comment in org.klomp.snark.web
Fields in org.klomp.snark.web with type parameters of type CommentModifier and TypeFieldDescriptionI2PSnarkServlet.CommentsHeaderResult.iterIterator over the existing comments, null when none are saved.Constructor parameters in org.klomp.snark.web with type arguments of type CommentModifierConstructorDescription(package private)CommentsHeaderResult(int myRating, int ratingCount, double averageRating, Iterator<Comment> iter) Records the rating snapshot read from a torrent's comment set.