This time i decided to test out SCALA's xml API... again it's pretty impressive how easy it is to save or load xml.
For testing purpose i made modifications to 'FileComponent.scala' and 'TreeComponent.scala'. I added 2 methods:
- toXML
- saveAsXML
TreeComponent.scala
FileComponent.scala
FileComponentTest.scala
Output: d:/tmp/filetree.xml
No comments:
Post a Comment