public final class BatchUtil extends Object
Constructor and Description |
---|
BatchUtil() |
Modifier and Type | Method and Description |
---|---|
static Serializable |
bytesToSerializableObject(byte[] bytes,
ClassLoader classLoader) |
static <T> T |
clone(T original) |
static byte[] |
objectToBytes(Object obj) |
static String |
propertiesToString(Properties properties) |
static Properties |
stringToProperties(String content) |
public static final String NL
public static String propertiesToString(Properties properties)
public static Properties stringToProperties(String content)
public static byte[] objectToBytes(Object obj) throws IOException
IOException
public static Serializable bytesToSerializableObject(byte[] bytes, ClassLoader classLoader) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public static <T> T clone(T original) throws javax.batch.operations.JobStartException
javax.batch.operations.JobStartException
Copyright © 2018 JBoss by Red Hat. All rights reserved.