Package org.apache.poi.hwpf.model
Class ListTables
- java.lang.Object
-
- org.apache.poi.hwpf.model.ListTables
-
@Internal public final class ListTables extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ListTables()ListTables(byte[] tableStream, int lstOffset, int fcPlfLfo, int lcbPlfLfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddList(ListData lst, LFO lfo, LFOData lfoData)booleanequals(java.lang.Object obj)ListLevelgetLevel(int lsid, int level)Get the ListLevel for a given lsid and levelLFOgetLfo(int ilfo)LFODatagetLfoData(int ilfo)ListDatagetListData(int lsid)intgetOverrideIndexFromListID(int lsid)inthashCode()voidwriteListDataTo(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream)voidwriteListOverridesTo(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream)
-
-
-
Method Detail
-
writeListDataTo
public void writeListDataTo(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream) throws java.io.IOException
- Throws:
java.io.IOException
-
writeListOverridesTo
public void writeListOverridesTo(FileInformationBlock fib, java.io.ByteArrayOutputStream tableStream) throws java.io.IOException
- Throws:
java.io.IOException
-
getLfo
public LFO getLfo(int ilfo) throws java.util.NoSuchElementException
- Throws:
java.util.NoSuchElementException
-
getLfoData
public LFOData getLfoData(int ilfo) throws java.util.NoSuchElementException
- Throws:
java.util.NoSuchElementException
-
getOverrideIndexFromListID
public int getOverrideIndexFromListID(int lsid) throws java.util.NoSuchElementException- Throws:
java.util.NoSuchElementException
-
getLevel
public ListLevel getLevel(int lsid, int level)
Get the ListLevel for a given lsid and level- Parameters:
lsid-level-- Returns:
- ListLevel if found, or
nullif ListData can't be found or if level is > that available
-
getListData
public ListData getListData(int lsid)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-