org.exoplatform.services.common
Class DataWriter

java.lang.Object
  extended by org.exoplatform.services.common.DataWriter

public class DataWriter
extends java.lang.Object

Author : Nhu Dinh Thuan Email:nhudinhthuan@yahoo.com Jun 4, 2007


Constructor Summary
DataWriter()
           
 
Method Summary
 void copy(java.io.File from, java.io.File to)
           
 void copy(java.lang.String from, java.lang.String to)
           
 void save(java.io.File file, byte[] d)
           
 void save(java.io.File file, java.io.InputStream input)
           
 void save(java.io.FileOutputStream output, byte[] data)
           
 void save(java.io.FileOutputStream output, java.io.InputStream input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataWriter

public DataWriter()
Method Detail

save

public void save(java.io.File file,
                 byte[] d)
          throws java.lang.Exception
Throws:
java.lang.Exception

save

public void save(java.io.FileOutputStream output,
                 byte[] data)
          throws java.lang.Exception
Throws:
java.lang.Exception

save

public void save(java.io.File file,
                 java.io.InputStream input)
          throws java.lang.Exception
Throws:
java.lang.Exception

save

public void save(java.io.FileOutputStream output,
                 java.io.InputStream input)
          throws java.lang.Exception
Throws:
java.lang.Exception

copy

public void copy(java.lang.String from,
                 java.lang.String to)
          throws java.lang.Exception
Throws:
java.lang.Exception

copy

public void copy(java.io.File from,
                 java.io.File to)
          throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.