|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.process.workers.partition.PartitionIndexer
Scans a text document and divides it into partitions, according to the supplied Partition objects.
| Field Summary | |
static java.lang.String |
UNKNOWN_TYPE
PartitionRange type for unrecognized partitions. |
| Constructor Summary | |
PartitionIndexer(Partition[] scanners)
Creates a new instance of PartitionIndexer. |
|
| Method Summary | |
PartitionRange[] |
findIndexes(java.lang.String text)
Calculates partition indexes according to the supplied scanners. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String UNKNOWN_TYPE
| Constructor Detail |
public PartitionIndexer(Partition[] scanners)
scanners - partition scanners to index against| Method Detail |
public PartitionRange[] findIndexes(java.lang.String text)
text - text to scan
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||