I have a bytearray of a pdf document.
Is it possible(without using any external libraries) to get to know how many pages the pdf contains?
Is it possible with only the use of java8?
I find it rather stupid that I have to import a whole pdf external library in my project for just getting to know the pagesize of a pdf.
There must be a way with just only using the java8 jdk, no?