diff --git a/src/main/java/illgner/ch/createzip/SplitZipWriter.java b/src/main/java/illgner/ch/createzip/SplitZipWriter.java index fc4afab..d78456c 100755 --- a/src/main/java/illgner/ch/createzip/SplitZipWriter.java +++ b/src/main/java/illgner/ch/createzip/SplitZipWriter.java @@ -107,26 +107,6 @@ public class SplitZipWriter implements Closeable { addZipToResult(); } - public void writeReadMe() throws IOException, InvalidAlgorithmParameterException, NoSuchPaddingException, - NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException { - - if (zipOutputStream != null) { - LOG.info("Skip adding Readme"); - return; - } - - try (InputStream readmeStream = this.getClass().getClassLoader().getResourceAsStream("Readme.txt")) { - if (readmeStream == null) { - throw new IOException("Cannot open Readme"); - } - - LOG.info("Writing Readme"); - write(readmeStream, "Readme.txt"); - } catch (IOException e) { - throw new IOException("Could not write Readme", e); - } - } - public ZipResult getZipResult() { return this.zipResult; }