Package com.sksamuel.scrimage.format
Class FormatDetector
- java.lang.Object
-
- com.sksamuel.scrimage.format.FormatDetector
-
public class FormatDetector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FormatDetector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<Format>
detect(byte[] bytes)
static java.util.Optional<Format>
detect(java.io.InputStream in)
-