All Downloads are FREE. Search and download functionalities are using the official Maven repository.

exchange.apexpro.connector.impl.ChannelParser Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package exchange.apexpro.connector.impl;

class ChannelParser {

  private String symbol = "";

  ChannelParser(String input) {
    String[] fields = input.split("\\.");
    if (fields.length >= 2) {
      symbol = fields[1];
    }
    String type = "";
    if (fields.length > 3) {
      type = fields[2];
    }
    if (type.equals("kline")) {

    }
  }

  public String getSymbol() {
    return symbol;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy