public final class OEShapeAtom extends RecordAtom
Modifier | Constructor and Description |
---|---|
|
OEShapeAtom()
Constructs a brand new link related atom record.
|
protected |
OEShapeAtom(byte[] source,
int start,
int len)
Constructs the link related atom record from its
source data.
|
Modifier and Type | Method and Description |
---|---|
int |
getOptions()
shape flags.
|
long |
getRecordType()
Gets the record type.
|
void |
setOptions(int id)
shape flags.
|
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 OEShapeAtom()
protected OEShapeAtom(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 Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
out
- the output stream to write to.IOException
- if an error occurs.public int getOptions()
public void setOptions(int id)
id
- shape flags.Copyright © 2020. All rights reserved.