public final class MasterTextPropAtom extends RecordAtom
| Modifier | Constructor | 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 | Description |
|---|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndiangetChildRecords, isAnAtompublic MasterTextPropAtom()
protected MasterTextPropAtom(byte[] source,
int start,
int len)
source - the source data as a byte array.start - the start offset into the byte array.len - the length of the slice in the byte array.public long getRecordType()
getRecordType in class Recordpublic void writeOut(java.io.OutputStream out)
throws java.io.IOException
public int getIndentAt(int offset)
public java.util.List<IndentProp> getIndents()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.