Package org.apache.tika.parser.microsoft
Class AbstractListManager.ParagraphLevelCounter
- java.lang.Object
-
- org.apache.tika.parser.microsoft.AbstractListManager.ParagraphLevelCounter
-
- Enclosing class:
- AbstractListManager
protected static class AbstractListManager.ParagraphLevelCounter extends Object
-
-
Constructor Summary
Constructors Constructor Description ParagraphLevelCounter(AbstractListManager.LevelTuple[] levelTuples)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfLevels()
String
incrementLevel(int levelNumber, AbstractListManager.LevelTuple[] overrideLevelTuples)
Apply this to every numbered paragraph in order.
-
-
-
Constructor Detail
-
ParagraphLevelCounter
public ParagraphLevelCounter(AbstractListManager.LevelTuple[] levelTuples)
-
-
Method Detail
-
getNumberOfLevels
public int getNumberOfLevels()
-
incrementLevel
public String incrementLevel(int levelNumber, AbstractListManager.LevelTuple[] overrideLevelTuples)
Apply this to every numbered paragraph in order.- Parameters:
levelNumber
- level number that is being incremented- Returns:
- the new formatted number string for this level
-
-