9
This answer How can I determine if a file is a PDF file? recommends to download another library, but my requirement is that I just need to check if a file is directory is of type PDF or not
Using complete library for this use looks like overkill
- Are there any ways to know that a Java File is of type PDF?