public final class TextBytesAtom extends RecordAtom
Modifier and Type | Field and Description |
---|---|
static long |
_type |
Modifier | Constructor and Description |
---|---|
|
TextBytesAtom()
Create an empty TextBytes Atom
(创建一个空的 TextBytes Atom)
|
protected |
TextBytesAtom(byte[] source, int start, int len)
For the TextBytes Atom
(对于 TextBytes Atom)
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getRecordType()
We are of type 4008
(我们是4008型)
|
java.lang.String |
getText()
Grabs the text.
(抓取文本。)
|
void |
setText(byte[] b)
Updates the text in the Atom.
(更新 Atom 中的文本。)
|
java.lang.String |
toString()
dump debug info; use getText() to return a string representation of the atom
(转储调试信息;使用 getText() 返回原子的字符串表示)
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk
(将记录的内容写回去,这样就可以写入磁盘了)
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
protected TextBytesAtom(byte[] source, int start, int len)
public TextBytesAtom()
public java.lang.String getText()
public void setText(byte[] b)
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public java.lang.String toString()
toString
in class
java.lang.Object
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.