public class XMLActilog
extends java.lang.Object
Constructor and Description |
---|
XMLActilog() |
Modifier and Type | Method and Description |
---|---|
static Actilog |
load(java.io.File file) |
static Actilog |
readActilog(java.lang.String source) |
static Actilog |
readActilog(fr.devinsy.util.xml.XMLReader in)
Reads a net from a XMLReader object.
|
static Log |
readLog(java.lang.String source) |
static Log |
readLog(fr.devinsy.util.xml.XMLReader in) |
static void |
readLogs(Logs target,
fr.devinsy.util.xml.XMLReader in) |
static void |
save(java.io.File file,
Actilog source,
java.lang.String generator)
Saves a net in a file.
|
static java.lang.String |
toXMLString(Actilog source) |
static java.lang.String |
toXMLString(Log source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Actilog source)
Writes a net in an stream.
|
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Log source) |
static void |
write(fr.devinsy.util.xml.XMLWriter out,
Logs source) |
public static Actilog load(java.io.File file) throws java.lang.Exception
file
- java.lang.Exception
public static Actilog readActilog(java.lang.String source) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target
- in
- fr.devinsy.util.xml.XMLBadFormatException
javax.xml.stream.XMLStreamException
java.lang.Exception
public static Actilog readActilog(fr.devinsy.util.xml.XMLReader in) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
in
- the source of reading.fr.devinsy.util.xml.XMLBadFormatException
javax.xml.stream.XMLStreamException
public static Log readLog(java.lang.String source) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target
- in
- fr.devinsy.util.xml.XMLBadFormatException
javax.xml.stream.XMLStreamException
java.lang.Exception
public static Log readLog(fr.devinsy.util.xml.XMLReader in) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target
- in
- fr.devinsy.util.xml.XMLBadFormatException
javax.xml.stream.XMLStreamException
public static void readLogs(Logs target, fr.devinsy.util.xml.XMLReader in) throws javax.xml.stream.XMLStreamException, fr.devinsy.util.xml.XMLBadFormatException
target
- in
- fr.devinsy.util.xml.XMLBadFormatException
javax.xml.stream.XMLStreamException
public static void save(java.io.File file, Actilog source, java.lang.String generator) throws java.lang.Exception
file
- Target.source
- Source.java.lang.Exception
public static java.lang.String toXMLString(Actilog source) throws java.io.UnsupportedEncodingException
source
- java.io.UnsupportedEncodingException
public static java.lang.String toXMLString(Log source) throws java.io.UnsupportedEncodingException
source
- java.io.UnsupportedEncodingException
public static void write(fr.devinsy.util.xml.XMLWriter out, Actilog source)
out
- Target.source
- Source.public static void write(fr.devinsy.util.xml.XMLWriter out, Log source)
source
- public static void write(fr.devinsy.util.xml.XMLWriter out, Logs source)
source
-