com.atlassian.core.util.zip
Class ArchiveParams.Builder

java.lang.Object
  extended by com.atlassian.core.util.zip.ArchiveParams.Builder
Enclosing class:
ArchiveParams

public static class ArchiveParams.Builder
extends Object


Method Summary
 ArchiveParams build()
           
 ArchiveParams.Builder withArchiveFolderName(String archiveFolderName)
          The path used as target directory within archive, so all files and directories inside archive will start with this path.
 ArchiveParams.Builder withIncludeHiddenFiles(boolean includeHiddenFiles)
          Should hidden files be included in the archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withArchiveFolderName

public ArchiveParams.Builder withArchiveFolderName(String archiveFolderName)
The path used as target directory within archive, so all files and directories inside archive will start with this path. For example when folderToCompress is pointing into /home/A/B directory which contains file with path /home/A/B/C/file and archiveFolderName equals "archive" a result zip archive will contain entry: /archive/C/file


withIncludeHiddenFiles

public ArchiveParams.Builder withIncludeHiddenFiles(boolean includeHiddenFiles)
Should hidden files be included in the archive.


build

public ArchiveParams build()


Copyright © 2015 Atlassian. All rights reserved.