public class ConversionUtils extends Object
| Constructor and Description |
|---|
ConversionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
image2String(BufferedImage i)
Converts the given image to a base64 string.
|
static boolean |
isValidTimeString(String t)
DOCUMENT ME!
|
static String |
jrDataSource2String(net.sf.jasperreports.engine.JRDataSource c)
Converts the given collection to a base64 string.
|
static String |
numberToString(Object d)
DOCUMENT ME!
|
static BufferedImage |
String2Image(String s)
Converts the given base64 string to an image.
|
static net.sf.jasperreports.engine.JRDataSource |
String2JRDataSource(String s)
Converts the given base64 string to an image.
|
public static String numberToString(Object d)
d - DOCUMENT ME!public static String image2String(BufferedImage i) throws IOException
i - the image to convertIOException - DOCUMENT ME!public static BufferedImage String2Image(String s) throws IOException
s - the string to convert (a base64 representation of an image)IOException - DOCUMENT ME!public static String jrDataSource2String(net.sf.jasperreports.engine.JRDataSource c) throws IOException
c - i the collection to convertIOException - DOCUMENT ME!public static net.sf.jasperreports.engine.JRDataSource String2JRDataSource(String s) throws Exception
s - the string to convert (a base64 representation of an image)Exception - DOCUMENT ME!public static boolean isValidTimeString(String t)
t - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.