public InputStreamInputSplit(InputStream is,String path){
  this.is=is;
  this.location=new URI[]{URI.create(path)};
}

public InputStreamInputSplit ( InputStream is , String path ) { this . is = is ; this . location = new URI [ ] { URI . create ( path ) } ; }
instantiate with the given file as a uri
