Package org.apache.poi.hwpf.model
Class ListTables
java.lang.Object
org.apache.poi.hwpf.model.ListTables
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getLevel
(int lsid, int level) Get the ListLevel for a given lsid and levelgetLfo
(int ilfo) getLfoData
(int ilfo) getListData
(int lsid) int
getOverrideIndexFromListID
(int lsid) int
hashCode()
void
writeListDataTo
(FileInformationBlock fib, ByteArrayOutputStream tableStream) void
writeListOverridesTo
(FileInformationBlock fib, ByteArrayOutputStream tableStream)
-
Constructor Details
-
ListTables
public ListTables() -
ListTables
public ListTables(byte[] tableStream, int lstOffset, int fcPlfLfo, int lcbPlfLfo)
-
-
Method Details
-
writeListDataTo
public void writeListDataTo(FileInformationBlock fib, ByteArrayOutputStream tableStream) throws IOException - Throws:
IOException
-
writeListOverridesTo
public void writeListOverridesTo(FileInformationBlock fib, ByteArrayOutputStream tableStream) throws IOException - Throws:
IOException
-
getLfo
- Throws:
NoSuchElementException
-
getLfoData
- Throws:
NoSuchElementException
-
getOverrideIndexFromListID
- Throws:
NoSuchElementException
-
getLevel
Get the ListLevel for a given lsid and level- Parameters:
lsid
-level
-- Returns:
- ListLevel if found, or
null
if ListData can't be found or if level is > that available
-
getListData
-
hashCode
public int hashCode() -
equals
-
addList
-