public final class MasterTextPropAtom extends RecordAtom
Modifier | Constructor and Description |
---|---|
|
MasterTextPropAtom()
Constructs a new empty master text prop atom.
(构造一个新的空主文本道具原子。)
|
protected |
MasterTextPropAtom(byte[] source, int start, int len)
Constructs the ruler atom record from its source data.
(从其源数据构造标尺原子记录。)
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getIndentAt(int offset)
Returns the indent that applies at the given text offset
(返回在给定文本偏移处应用的缩进)
|
java.util.List<IndentProp> |
getIndents() |
long |
getRecordType()
Gets the record type.
(获取记录类型。)
|
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
public MasterTextPropAtom()
protected MasterTextPropAtom(byte[] source, int start, int len)
source
- the source data as a byte array.
(source - 作为字节数组的源数据。)
start
- the start offset into the byte array.
(start - 字节数组的起始偏移量。)
len
- the length of the slice in the byte array.
(len - 字节数组中切片的长度。)
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public int getIndentAt(int offset)
public java.util.List<IndentProp> getIndents()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.