public final class SystemLoadParser extends Object
SystemLoads.| Modifier and Type | Method and Description |
|---|---|
static SystemLoad |
parse(InputStream in)
Parses a stream representing a
SystemLoad |
static SystemLoad |
parseXml(String xml)
Parses an xml string representing a
SystemLoad |
static String |
toXml(SystemLoad systemLoad)
Gets an xml representation of a
SystemLoad |
static InputStream |
toXmlStream(SystemLoad systemLoad)
Gets a serialized representation of a
SystemLoad |
public static SystemLoad parseXml(String xml) throws IOException
SystemLoadxml - The serialized dataIOExceptionpublic static SystemLoad parse(InputStream in) throws IOException
SystemLoadin - The serialized dataIOExceptionpublic static InputStream toXmlStream(SystemLoad systemLoad) throws IOException
SystemLoadsystemLoad - The SystemLoad to marshalIOExceptionpublic static String toXml(SystemLoad systemLoad) throws IOException
SystemLoadsystemLoad - The SystemLoad to marshalIOExceptionCopyright © 2009–2021 Opencast Project. All rights reserved.