Package org.apache.poi.hwpf.model
Class SavedByTable
java.lang.Object
org.apache.poi.hwpf.model.SavedByTable
String table containing the history of the last few revisions ("saves") of
the document. Read-only for the time being.
- Author:
- Daniel Noll
-
Constructor Summary
ConstructorsConstructorDescriptionSavedByTable
(byte[] tableStream, int offset, int size) Constructor to read the table from the table stream. -
Method Summary
Modifier and TypeMethodDescriptionGets the entries.void
writeTo
(ByteArrayOutputStream tableStream) Writes this table to the table stream.
-
Constructor Details
-
SavedByTable
public SavedByTable(byte[] tableStream, int offset, int size) Constructor to read the table from the table stream.- Parameters:
tableStream
- the table stream.offset
- the offset into the byte array.size
- the size of the table in the byte array.
-
-
Method Details
-
getEntries
Gets the entries. The returned list cannot be modified.- Returns:
- the list of entries.
-
writeTo
Writes this table to the table stream.- Parameters:
tableStream
- the table stream to write to.- Throws:
IOException
- if an error occurs while writing.
-