Package framework.io

Examples of framework.io.CustomOutputStream


import framework.io.CustomOutputStream;

public class ComponentExporter {
  public static void exportComponent(Component c, File file) throws IOException{
    if(c != null){
      final CustomOutputStream out = new CustomOutputStream(new BufferedOutputStream(new FileOutputStream(file)));
      c.writeToStream(out);
      out.flush();
      out.close();
    }
  }
View Full Code Here

TOP

Related Classes of framework.io.CustomOutputStream

Copyright © 2018 www.massapicom. 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.