public final class XMPScanner
extends java.lang.Object
| Constructor and Description |
|---|
XMPScanner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] pArgs) |
static java.io.Reader |
scanForXMPPacket(java.lang.Object pInput)
Scans the given input for an XML metadata packet.
|
public static java.io.Reader scanForXMPPacket(java.lang.Object pInput)
throws java.io.IOException
pInput - the input to scan. The input may be an ImageInputStream or
any object that can be passed to ImageIO.createImageInputStream(Object).
Typically this may be a File, InputStream or RandomAccessFile.java.nio.charset.UnsupportedCharsetException - if the encoding specified within the BOM is not supported
by the JRE.java.io.IOException - if an I/O exception occurs reading from pInput.ImageIO.createImageInputStream(Object)public static void main(java.lang.String[] pArgs)
throws java.io.IOException
java.io.IOExceptionCopyright © 2018. All Rights Reserved.