public final class TextSpecInfoAtom extends RecordAtom
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TextSpecInfoAtom.TextSpecInfoRun |
| Modifier | Constructor | Description |
|---|---|---|
protected |
TextSpecInfoAtom(byte[] source,
int start,
int len) |
Constructs the link related atom record from its
source data.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCharactersCovered() |
Get the number of characters covered by this records
|
long |
getRecordType() |
Gets the record type.
|
TextSpecInfoAtom.TextSpecInfoRun[] |
getTextSpecInfoRuns() |
|
void |
reset(int size) |
Reset the content to one info run with the default values
|
void |
setTextSize(int size) |
Update the text length
|
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, isAnAtomprotected TextSpecInfoAtom(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 void setTextSize(int size)
size - the text lengthpublic void reset(int size)
size - the site of parent textpublic int getCharactersCovered()
public TextSpecInfoAtom.TextSpecInfoRun[] getTextSpecInfoRuns()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.