| Modifier and Type | Method and Description |
|---|---|
static Job |
parseJob(InputStream in)
Parses a stream representing a
Job |
static Job |
parseJob(String serializedForm)
Parses an xml string representing a
Job |
static JaxbJobList |
parseJobList(InputStream in)
Parses a stream representing a
JaxbJobList |
static JaxbJobList |
parseJobList(String serializedForm)
Parses an xml string representing a
JaxbJobList |
static String |
toXml(JaxbJob job)
Serializes the job into a string representation.
|
public static Job parseJob(String serializedForm) throws IOException
JobserializedForm - The serialized dataIOExceptionpublic static Job parseJob(InputStream in) throws IOException
Jobin - The serialized dataIOExceptionpublic static String toXml(JaxbJob job) throws IOException
job - the jobIOException - if parsing failspublic static JaxbJobList parseJobList(String serializedForm) throws IOException
JaxbJobListserializedForm - The serialized dataIOExceptionpublic static JaxbJobList parseJobList(InputStream in) throws IOException
JaxbJobListin - the serialized dataIOExceptionCopyright © 2009–2021 Opencast Project. All rights reserved.