|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kinsources.kiwa.actilog.XMLActilog
public class XMLActilog
This class represents a Actilog File reader and writer.
Constructor Summary | |
---|---|
XMLActilog()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLActilog()
Method Detail |
---|
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
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |