@Override public void addValueAndOverwrite(URI uri, byte[] key) throws IOException { try { if (StorageUtil.HasUri(this.file, uri)) { StorageUtil.deleteData(this.file, uri); } this.addValue(uri, key); } catch (Exception e) { throw new IOException(e); } }