28 Nov 2012

Java: guess content type of byte array

Written by ilgrosso

Maybe it is a not a common usecase, but I've just had need to know the content type of a bare byte[ ]. After been searching the whole Internet and evaluated dozens of utility libraries I finally ended up with a very simple but effective solution.

Read All »