Example usage for org.apache.lucene.analysis.tokenattributes OffsetAttribute interface-usage

List of usage examples for org.apache.lucene.analysis.tokenattributes OffsetAttribute interface-usage

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.tokenattributes OffsetAttribute interface-usage.

Usage

From source file de.catma.indexer.ReadOnlyOffsetAttribute.java

public class ReadOnlyOffsetAttribute implements OffsetAttribute {

    private int startOffset;
    private int endOffset;

    public ReadOnlyOffsetAttribute(OffsetAttribute toCopy) {