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 |
|---|---|
Map<String,Supplier<?>> |
getGenericProperties() |
int |
getIndentAt(int offset)
Returns the indent that applies at the given text offset
|
List<IndentProp> |
getIndents() |
static int |
getMaxRecordLength() |
long |
getRecordType()
Gets the record type.
|
static void |
setMaxRecordLength(int length) |
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk.
|
getChildRecords, isAnAtombuildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndianpublic 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 static void setMaxRecordLength(int length)
length - the max record length allowed for MasterTextPropAtompublic static int getMaxRecordLength()
public long getRecordType()
getRecordType in class Recordpublic void writeOut(OutputStream out) throws IOException
writeOut in class Recordout - the output stream to write to.IOException - if an error occurs.public int getIndentAt(int offset)
public List<IndentProp> getIndents()