ArchivePart/src/work/lclpnet/archivepart/model/ArchivePartFile.java
public boolean addFolderToArchive(File folder, boolean override) {
		if(folder.isFile()) throw new IllegalArgumentException("\"" + folder.getAbsolutePath() + "\" is not a directory!");
		if(folder.listFiles() == null || folder.listFiles().length <= 0) return true;

		return addToArchiveRecursively(folder, folder, true, override);
	}
/**
	 * Adds a folder to the root of the archive.<br>
	 * <br>
	 * Example: <br>
	 * <code>folder = new File("path/to/folder");</code> will add the folder "folder" and all its contents to the root of the archive. 
	 * 
	 * If you just want to add the contents of the folder to the root, use {@link ArchivePartFile#addToArchive(File)}. It can also be used
	 * to add single files.
	 * 
	 * @throws IllegalArgumentException if the specified file is not a folder.
	 * @param folder The folder to add to the archive.
	 * @param override True if existing entries with the same path should be replaced.
	 * @return true, if everything was added successfully.
	 */
Adds a folder to the root of the archive.

Example: 
folder = new File("path/to/folder"); will add the folder "folder" and all its contents to the root of the archive.

If you just want to add the contents of the folder to the root, use  ArchivePartFile#addToArchive(File). It can also be used
to add single files.

@throws IllegalArgumentException if the specified file is not a folder.
@param folder The folder to add to the archive.
@param override True if existing entries with the same path should be replaced.
@return true, if everything was added successfully.
Adds a folder to the root of the archive . Example : folder = new File ( " path / to / folder " ) ; will add the folder " folder " and all its contents to the root of the archive . If you just want to add the contents of the folder to the root use ArchivePartFile#addToArchive ( File ) . It can also be used to add single files . @throws IllegalArgumentException if the specified file is not a folder . @param folder The folder to add to the archive . @param override True if existing entries with the same path should be replaced . @return true if everything was added successfully .
public boolean addFolderToArchive(File folder, boolean override) {
		if(folder.isFile()) throw new IllegalArgumentException("\"" + folder.getAbsolutePath() + "\" is not a directory!");
		if(folder.listFiles() == null || folder.listFiles().length <= 0) return true;
		return addToArchiveRecursively(folder, folder, true, override);
	}
public boolean addFolderToArchive ( File folder , boolean override ) { if ( folder . isFile ( ) ) throw new IllegalArgumentException ( "\"" + folder . getAbsolutePath ( ) + "\" is not a directory!" ) ; if ( folder . listFiles ( ) == null || folder . listFiles ( ) . length <= 0 ) return true ; return addToArchiveRecursively ( folder , folder , true , override ) ; }
Adds a folder to the root of the archive.<br>
 <br>
 Example: <br>
 <code>folder = new File("path/to/folder");</code> will add the folder "folder" and all its contents to the root of the archive.
Adds a folder to the root of the archive . <br > <br > Example : <br > <code > folder = new File ( " path / to / folder " ) ; < / code > will add the folder " folder " and all its contents to the root of the archive .