Package com.google.zxing.client.j2se
Class ImageReader
- java.lang.Object
-
- com.google.zxing.client.j2se.ImageReader
-
public final class ImageReader extends java.lang.Object
Encapsulates reading URIs as images.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
BASE64TOKEN
-
Constructor Summary
Constructors Modifier Constructor Description private
ImageReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.image.BufferedImage
readDataURIImage(java.net.URI uri)
static java.awt.image.BufferedImage
readImage(java.net.URI uri)
-
-
-
Field Detail
-
BASE64TOKEN
private static final java.lang.String BASE64TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
readImage
public static java.awt.image.BufferedImage readImage(java.net.URI uri) throws java.io.IOException
- Throws:
java.io.IOException
-
readDataURIImage
public static java.awt.image.BufferedImage readDataURIImage(java.net.URI uri) throws java.io.IOException
- Throws:
java.io.IOException
-
-