I have a zipfile File filepath = new File("c:/template.zip). And I have a name.txt inside c:/template.zip/template/name.txt. I need to update the contents of name.txt. I tried with below code, but i failed to update it.
try {
FileUtils.writeStringToFile(filepath, "hi", false);
}catch (IOException e) {
e.printStackTrace();
}