Java Microsoft Project File Manipulation APIs 

Manipulate or Export Project documents to Primavera, Excel, HTML, PDF, images & XML formats.

  Download Free Trial
Aspose.Tasks for Java

Aspose.Tasks for Java


Aspose.Tasks for Java is a stable and flexible project management API to manipulate Microsoft Project documents. Developers can define a project’s main and default properties as well as calendar information. They can also specify weekdays and calendar exceptions. API makes it easy to add & recalculate tasks, resources and other project data without user intervention.

Aspose.Tasks for Java API exposes the complete project document structure to read and write Microsoft Project documents. With this powerful API, developers can control various stages of project management such as project planning, tracking and much more.


Advanced Project Management API Features



Read, change & write Microsoft Project files


Read MPP & XML project formats


Create, update & write projects in XML project forma


Read MPP project files & update summary information


Change default project settings


Convert MPP projects to XML format


Change main project settings


Manage extended attributes


Render project data to HTML


Define weekdays for the project


Define weekdays for calendars & calendar exceptions


Read & write calendars for tasks & resources


Manage task baseline scheduling & durations


Handle constraints on tasks


Create & manage links between tasks


Read, change & create tasks, milestone, estimated, critical or effort driven tasks


Manage resources costs & variances


Access assignment costs & budget

Export Project Data to Universal Formats

Aspose.Tasks support rendering tasks, resources, and resource assignment data to various formats such as JPG, PNG, PDF, XML, XAML, HTML, BMP, XPS, TIFF and SVG. In addition, it is also possible to export project data to CSV, TXT, XLS, XLSX and MPT formats.

Save project data in different formats - Java

// load the file to be converted
Project project = new Project(dir + "template.mpp");
// save in different formats + "output.pdf", SaveFileFormat.PDF); + "output.html", SaveFileFormat.HTML); + "output.tiff", SaveFileFormat.TIFF);

Create & Update Resources in Project

Aspose.Tasks for Java provides features for working with resources within project plans. Almost all of the resource attributes are supported. Resource data can be updated and written back to both MPP and XML formats.

Render Project Data to Image Formats

Having its own rendering engine, API can easily render project data to different raster & vector image formats and can specify various properties of the resultant image before rendering.

Render project data to JPEG - Java

// load project file
Project project = new Project(dir + "template.mpp");
// create ImageSaveOptions with desired format
ImageSaveOptions options = new ImageSaveOptions(SaveFileFormat.JPEG);
// render project data to image format + "output.jpg", options);

Manage Resource Assignments

In its simplest form, a project plan is a collection of tasks assigned to a group of resources. Aspose.Tasks for Java provides an API for handling resource allocation and assignment within a project plan.

Handle Calendars & Calendar Exceptions

Aspose.Tasks for Java takes care of project calendars and calendar exceptions. There could be any number of calendars within a project plan, and Aspose.Tasks for Java can handle them with the greatest ease.

Microsoft Office Automation - Not Needed

Aspose.Tasks for Java is built using managed code that never needs Microsoft Office or Microsoft Project to be installed on the machine to work with MS Project files. It is a perfect Microsoft Prroject automation alternative in terms of supported features, security, stability, scalability, speed and price.


Support and Learning Resources


Aspose.Tasks offer individual Project APIs for other popular development environments as listed below: