Package org.testng
Class Converter
- java.lang.Object
-
- org.testng.Converter
-
public class Converter extends java.lang.Object
Convert XML files to YAML and vice versa.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
m_files
private java.lang.String
m_outputDirectory
-
Constructor Summary
Constructors Constructor Description Converter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
findAllSuites(java.util.Collection<XmlSuite> suites, java.util.Set<XmlSuite> result)
static void
main(java.lang.String[] args)
private void
run(java.lang.String[] args)
private void
writeFile(java.io.File newFile, java.lang.String content)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
-
findAllSuites
private void findAllSuites(java.util.Collection<XmlSuite> suites, java.util.Set<XmlSuite> result)
-
run
private void run(java.lang.String[] args) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
-
writeFile
private void writeFile(java.io.File newFile, java.lang.String content) throws java.io.IOException
- Throws:
java.io.IOException
-
-