public static TextureData newTextureData(GLProfile glp,URL url,boolean useMipMaps) throws IOException {
  InputStream stream=new BufferedInputStream(url.openStream());
  try {
    return newTextureData(glp,stream,useMipMaps);
  }
  finally {
    stream.close();
  }
}

public static TextureData newTextureData ( GLProfile glp , URL url , boolean useMipMaps ) throws IOException { InputStream stream = new BufferedInputStream ( url . openStream ( ) ) ; try { return newTextureData ( glp , stream , useMipMaps ) ; } finally { stream . close ( ) ; } }
creates texturedata from the given url . does no opengl work .
