public final class UnknownRecordPlaceholder extends RecordAtom
Modifier | Constructor and Description |
---|---|
protected |
UnknownRecordPlaceholder(byte[] source, int start, int len)
Create a new holder for a record we don't grok
(为我们不熟悉的记录创建一个新的持有者)
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getRecordType()
Return the value we were given at creation
(返回我们在创建时被赋予的值)
|
RecordTypes |
getRecordTypeEnum()
Return the value as enum we were given at creation
(将值作为我们在创建时给出的枚举返回)
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk
(将记录的内容写回去,这样就可以写入磁盘了)
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
protected UnknownRecordPlaceholder(byte[] source, int start, int len)
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public RecordTypes getRecordTypeEnum()
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.