public void delete(URI resourceUri,String etag) throws IOException, ServiceException {
  delete(resourceUri.toURL(),etag);
}

public void delete ( URI resourceUri , String etag ) throws IOException , ServiceException { delete ( resourceUri . toURL ( ) , etag ) ; }
deletes an existing entry ( and associated media content , if any ) using the specified edit uri . this delete is conditional upon the provided tag matching the current entity tag for the entry . if ( and only if ) they match , the deletion will be performed .
