public class DateTimeMCAtom extends RecordAtom
| Modifier | Constructor and Description |
|---|---|
protected |
DateTimeMCAtom() |
protected |
DateTimeMCAtom(byte[] source,
int start,
int len)
Constructs the datetime atom record from its source data.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Supplier<?>> |
getGenericProperties() |
int |
getIndex() |
int |
getPosition() |
long |
getRecordType()
Gets the record type.
|
void |
setIndex(int index) |
void |
setPosition(int position) |
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, getMaxRecordLength, isAnAtom, setMaxRecordLengthbuildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndianprotected DateTimeMCAtom()
protected DateTimeMCAtom(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 void writeOut(OutputStream out) throws IOException
writeOut in class Recordout - the output stream to write to.IOException - if an error occurs.public int getPosition()
public void setPosition(int position)
public int getIndex()
public void setIndex(int index)
public long getRecordType()
getRecordType in class Record