Package org.exoplatform.xml.object

Examples of org.exoplatform.xml.object.XMLCollection.toByteArray()


      List list = new ArrayList();
      list.add("test.....................");
      list.add(new Date());
      XMLCollection xmllist = new XMLCollection(list);
      os = new FileOutputStream(projectdir + "/target/list.xml");
      os.write(xmllist.toByteArray("UTF-8"));
      os.close();
   }

   static public class TestObject
   {
View Full Code Here


      List list = new ArrayList();
      list.add("test.....................");
      list.add(new Date());
      XMLCollection xmllist = new XMLCollection(list);
      os = new FileOutputStream(projectdir + "/target/list.xml");
      os.write(xmllist.toByteArray("UTF-8"));
      os.close();
   }

   static public class TestObject
   {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.