(Disclaimer: I'm new to Java, and also, I read the relevant SO question .)
I have the following code:
import org.apache.pdfbox.pdmodel.*; ... PDFont font = PDType1Font.HELVETICA_BOLD;
But the PDFont class PDFont not recognized in Eclipse.
When I add the following:
import org.apache.pdfbox.pdmodel.font.PDFont;
The class PDFont .
Given that the PDFont class is under the hierarchy specified in the first import statement, ending with an asterisk, why do we need a specific import operation?
Also, is there a way to find the location of a class in a library if you don't have documentation convenient?
source share