@Internal public final class RevisionMarkAuthorTable extends java.lang.Object
Constructor and Description |
---|
RevisionMarkAuthorTable(byte[] tableStream,
int offset,
int size)
Constructor to read the table from the table stream.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthor(int index)
Get an author by its index.
|
java.util.List<java.lang.String> |
getEntries()
Gets the entries.
|
int |
getSize()
Gets the number of entries.
|
void |
writeTo(java.io.ByteArrayOutputStream tableStream)
Writes this table to the table stream.
|
public RevisionMarkAuthorTable(byte[] tableStream, int offset, int size) throws java.io.IOException
tableStream
- the table stream.offset
- the offset into the byte array.size
- the size of the table in the byte array.java.io.IOException
public java.util.List<java.lang.String> getEntries()
public java.lang.String getAuthor(int index)
public int getSize()
public void writeTo(java.io.ByteArrayOutputStream tableStream) throws java.io.IOException
tableStream
- the table stream to write to.java.io.IOException
- if an error occurs while writing.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.