Skip to content

Commit

Permalink
add Archive.createArchive(File) method
Browse files Browse the repository at this point in the history
  • Loading branch information
tofi86 committed Oct 4, 2016
1 parent 2fddb48 commit c4cc534
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/adobe/epubcheck/util/Archive.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ public void deleteEpubFile()
}
}

public void createArchive(File absoluteEpubFilePath)
{
this.epubFile = absoluteEpubFilePath;
createArchive();
}

public void createArchive()
{
// using commons compress to allow setting filename encoding pre java7
Expand Down

0 comments on commit c4cc534

Please sign in to comment.