docs/javadoc/reference/com/facebook/imageformat/DefaultImageFormatChecker.html
|
|
Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
implements ImageFormat.FormatChecker
| java.lang.Object | | ↳ | com.facebook.imageformat.DefaultImageFormatChecker |
Default image format checker that is able to determine all DefaultImageFormats.
| Public Constructors |
|---|
| Public Methods |
|---|
| final ImageFormat |
| Tries to match imageHeaderByte and headerSize against every known image format. |
| int |
| Get the number of header bytes the format checker requires |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
| | From interface com.facebook.imageformat.ImageFormat.FormatChecker
| abstract ImageFormat | determineFormat(byte[] headerBytes, int headerSize)
Returns an ImageFormat if the checker is able to determine the format or null otherwise.
|
| abstract int | getHeaderSize()
Get the number of header bytes the format checker requires
|
|
Tries to match imageHeaderByte and headerSize against every known image format. If any match succeeds, corresponding ImageFormat is returned.
| headerBytes | the header bytes to check | | headerSize | the available header size |
Get the number of header bytes the format checker requires
+Generated by Doclava. +