public class GraphicsUtils extends Object
| Constructor and Description |
|---|
GraphicsUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isImage(byte[] bytes)
Checks if the provided byte array represents an image.
|
static boolean |
isImage(InputStream stream)
Checks if the provided input stream represents an image.
|
public static boolean isImage(InputStream stream)
stream - The data to be parsed. Cannot be null.public static boolean isImage(byte[] bytes)
bytes - The data to be parsed. Cannot be null.Copyright © 2003–2020 Ignite Realtime. All rights reserved.