public final class TextHeaderAtom extends RecordAtom implements ParentAwareRecord
Modifier and Type | Field and Description |
---|---|
static int |
BODY_TYPE |
static int |
CENTER_TITLE_TYPE |
static int |
CENTRE_BODY_TYPE |
static int |
HALF_BODY_TYPE |
static int |
NOTES_TYPE |
static int |
OTHER_TYPE |
static int |
QUARTER_BODY_TYPE |
static int |
TITLE_TYPE |
Modifier | Constructor and Description |
---|---|
|
TextHeaderAtom()
Create a new TextHeader Atom, for an unknown type of text
|
protected |
TextHeaderAtom(byte[] source,
int start,
int len)
For the TextHeader Atom
|
Modifier and Type | Method and Description |
---|---|
RecordContainer |
getParentRecord() |
long |
getRecordType()
We are of type 3999
|
int |
getTextType() |
void |
setParentRecord(RecordContainer record) |
void |
setTextType(int type) |
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
public static final int TITLE_TYPE
public static final int BODY_TYPE
public static final int NOTES_TYPE
public static final int OTHER_TYPE
public static final int CENTRE_BODY_TYPE
public static final int CENTER_TITLE_TYPE
public static final int HALF_BODY_TYPE
public static final int QUARTER_BODY_TYPE
protected TextHeaderAtom(byte[] source, int start, int len)
public TextHeaderAtom()
public int getTextType()
public void setTextType(int type)
public RecordContainer getParentRecord()
getParentRecord
in interface ParentAwareRecord
public void setParentRecord(RecordContainer record)
setParentRecord
in interface ParentAwareRecord
public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
IOException
Copyright © 2020. All rights reserved.