List of usage examples for com.google.gwt.core.client JsArrayString join
public final String join()
From source file:com.google.speedtracer.client.model.JavaScriptProfileModelV8Impl.java
License:Apache License
/** * Parse a profiler entry// w w w .j ava2 s . c om * * The format of this entry is: * * profiler, "type", ... */ private void parseV8ProfilerEntry(JsArrayString logEntries) { final String arg = logEntries.get(1); if (arg.equals("compression")) { int windowSize = Integer.parseInt(logEntries.get(2)); this.logDecompressor = new V8LogDecompressor(windowSize); } else if (arg.equals("begin")) { // TODO(zundel): make sure all state is reset populateAddressTags(); } else if (arg.equals("pause") || arg.equals("resume")) { // ignore pause and resume entries. } else if (ClientConfig.isDebugMode()) { Logging.getLogger().logText("Ignoring profiler command: " + logEntries.join()); } }