How to deal with conflicting classes

I have imported the poi library, a library which deals with parsing word documents, however the library itself uses a class called table which is shared with the main processing library, which I would also like to make use of.

This causes and ambiguous class error.

How do I get around this issue.

1 Like

You can access poi’s Table class using its “fully qualified name” instead of using keyword import for it:

1 Like

thanks I’ll take a look.

Ok so still kind of stuck, I understand that i would use the name of the library I downloaded as a prefix for the conflicting class, however as I only want access to the processing version of the class, I’m not sure how to call it.

Ive tried

processing.Table
core.Table

Processing’s class Table belongs to package processing.data:
Processing.GitHub.io/processing-javadocs/core/processing/data/Table.html

Therefore its “fully qualified name” is processing.data.Table.

2 Likes