
# GroupDocs.Merger for Java Examples

This package contains Java Example Projects for GroupDocs.Merger for Java and sample input docucuments/templates.

GroupDocs.Merger for Java is a back-end document manipulation API. It allows to swap, remove or reorder pages in a document of supported format. It also manage documents password protection. You can remove or set password protection to any supported document. Furthermore, multiple files can be combined and arranged to a single document. 

<p align="center">

  <a title="Download complete GroupDocs.Merger for Java source code" href="https://github.com/groupdocs-merger/GroupDocs.Merger-for-Java/archive/master.zip">
	<img src="https://raw.github.com/AsposeExamples/java-examples-dashboard/master/images/downloadZip-Button-Large.png" />
  </a>
</p>

# How to Run the Examples?

It is assumed that maven is installed and configured in your system path. You can edit the project by opening in your favorite IDE like NetBeans, Eclipse, and IntelliJ IDEA. Please visit our [documentation website](https://docs.groupdocs.com/display/mergerjava/How+to+Run+Examples) for more details.

## Install and Configure Maven

You may find following resources helpful:

1. Learn how to <a href="http://www.tutorialspoint.com/maven/maven_environment_setup.htm">install and configure</a> Maven - Environment Setup
2. Maven <a href="http://www.tutorialspoint.com/maven/maven_netbeans.htm">support</a> for NetBeans
3. Maven <a href="http://www.tutorialspoint.com/maven/maven_intellij_idea.htm">support</a> for IntelliJ IDEA
4. Maven <a href="http://www.tutorialspoint.com/maven/maven_eclispe_ide.htm">support</a> for Eclipse IDE

# Apply License

Follow below steps if you have product license

1. Open CommonUtilities.java.
2. Set "licensePath" variable to your license path.
3. Call applyLicenseFromFile method from MainClass