Constructor and Description |
---|
SfComments(Comments cmt)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
Comment |
get(int number)
Get comment by number.
|
Issue |
issue()
The issue we're in.
|
Iterable<Comment> |
iterate(Date since)
Iterate them all.
|
Comment |
post(String text)
Post new comment.
|
String |
toString() |
public SfComments(Comments cmt)
cmt
- The original commentpublic Comment get(int number)
Comments
get
in interface Comments
number
- Comment numberpublic Iterable<Comment> iterate(Date since)
Comments
iterate
in interface Comments
since
- Since when? Just give new Date(0)
if you want
all comments.public Comment post(String text) throws IOException
Comments
post
in interface Comments
text
- Text of comment to post in Markdown formatIOException
- If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.