public final class Comment2000 extends RecordContainer
_children
Modifier | Constructor and Description |
---|---|
|
Comment2000()
Create a new Comment2000, with blank fields
(创建一个新的 Comment2000,带有空白字段)
|
protected |
Comment2000(byte[] source, int start, int len)
Set things up, and find our more interesting children
(做好准备,找到我们更有趣的孩子)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthor()
Get the Author of this comment
(获取此评论的作者)
|
java.lang.String |
getAuthorInitials()
Get the Author's Initials of this comment
(获取此评论的作者姓名缩写)
|
Comment2000Atom |
getComment2000Atom()
Returns the Comment2000Atom of this Comment
(返回此评论的 Comment2000Atom)
|
long |
getRecordType()
We are of type 1200
(我们是1200型)
|
java.lang.String |
getText()
Get the text of this comment
(获取此评论的文本)
|
void |
setAuthor(java.lang.String author)
Set the Author of this comment
(设置此评论的作者)
|
void |
setAuthorInitials(java.lang.String initials)
Set the Author's Initials of this comment
(设置此评论的作者姓名缩写)
|
void |
setText(java.lang.String text)
Set the text of this comment
(设置此评论的文本)
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk
(将记录的内容写回去,这样就可以写入磁盘了)
|
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, getGenericProperties, handleParentAwareRecords, isAnAtom, removeChild, setChildRecord, writeOut
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
protected Comment2000(byte[] source, int start, int len)
public Comment2000()
public Comment2000Atom getComment2000Atom()
public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
public java.lang.String getAuthorInitials()
public void setAuthorInitials(java.lang.String initials)
public java.lang.String getText()
public void setText(java.lang.String text)
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.