We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Is worksheets.getSheet() method deprecated in Cells 7.1.0 Java?

I just upgraded to the latest Cells Java (7.1.0) and noticed that my using worksheets.getSheet(0) does not work any more.

Would I need to go through all my code and replace the method with just get()?

The getSheet() method with all its overrides was very useful. The getWorksheets() method of Workbook is still available but somehow getSheet() is replaced with the generic get().

What other “surprises” should I expect in the latest version compared with Cells of a couple of years ago?


Please check the document for reference.

We recommend you to kindly browse the Aspose.Cells for Java Programmer's Guide and API Reference pages for your complete reference:

With the release of Aspose.Cells for Java v7.0.0 we have automatically ported from our .NET code and therefore, it might contain many features that were missing in the previous Aspose.Cells for Java versions. This release is a major milestone because from now on wards we can work more efficiently and it simply means a much better Aspose.Cells for Java for you. The reason for this is that we can now maintain two products Aspose.Cells for Java and Aspose.Cells for .NET from single source code base. So, you may find some significant changes in the APIs now. We have renamed certain APIs set to clean the API structure to match it with Aspose.Cells for .NET. We have some collection classes but their names do not justify them according to .NET standards. So, we have decided to change the names of some classes and other members accordingly. Due to these changes, you may need to fix certain parts of your existing code segments when upgrading from your previous version of Aspose.Cells for Java.

Some notable changes are mentioned in the below table on the release notes that you may check: