List of usage examples for com.google.gwt.typedarrays.client JsArrayUtil unwrapArray
public static String[] unwrapArray(JsArrayString jsArrayString)
From source file:com.googlecode.gwtgl.binding.WebGLRenderingContext.java
License:Apache License
/** * Determines the extensions supported by the WebGL implementation. * //from w ww . ja v a2 s . c om * @return an array containing the names of the supported extensions. */ public String[] getSupportedExtensions() { try { return JsArrayUtil.unwrapArray(getSupportedExtensionsAsJsArray()); } catch (Exception e) { return new String[0]; } }