Example usage for twitter4j SymbolEntity getEnd

List of usage examples for twitter4j SymbolEntity getEnd

Introduction

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

Prototype

@Override
int getEnd();

Source Link

Document

Returns the index of the end 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());
}