I'm working through the example here:
http://www.vogella.com/articles/JavaPDF/article.html
In my file, I've got:
package com.mycompanyname.mydirectory;
import com.mycompanyname.OneOfMyClasses;
import com.itextpdf.text.Document;
...
public class MyClass {
...
}
Everything is working fine. What I don't understand is that since I just copied the import statement directly from the link above for the iText portion -- why does com.itextpdf.text.Document
work?
I mean, if I look in directory com.mycompanyname
I can see OneOfMyClasses.java
there.
But in the com
directly, there is no itextpdf
directory (although maybe my user doesn't have permission to see it(?)).
Hoping someone can help me understand what I'm missing here. Doesn't the import point to a specific directory that I should be able to see the class? Is there a different com
directory somewhere that iText is using, and com.itextpdf.text
points to there? (if so, where's the directory located)?
I installed the jar file for iText in the lib
folder as per usual, and made sure it was included in the classpath.