Example usage for twitter4j SymbolEntity getStart

List of usage examples for twitter4j SymbolEntity getStart

Introduction

In this page you can find the example usage for twitter4j SymbolEntity getStart.

Prototype

@Override
int getStart();

Source Link

Document

Returns the index of the start character of the symbol.

Usage

From source file:com.github.jcustenborder.kafka.connect.twitter.StatusConverter.java

License:Apache License

static Struct convertSymbolEntity(SymbolEntity symbolEntity) {
    return new Struct(SCHEMA_SYMBOL_ENTITY).put("Start", symbolEntity.getStart())
            .put("End", symbolEntity.getEnd()).put("Text", symbolEntity.getText());
}