exchange.apexpro.connector.impl.ChannelParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apexpro-connector-java Show documentation
Show all versions of apexpro-connector-java Show documentation
A lightweight library to ApeX-Protocol
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;
}
}