eXo JCR :: Component :: FTP Service 1.15.14-GA

org.exoplatform.services.ftp.data
Class FtpTimeStampedOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.exoplatform.services.ftp.data.FtpTimeStampedOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class FtpTimeStampedOutputStream
extends OutputStream

Created by The eXo Platform SAS Author : Vitaly Guly

Version:
$Id: $

Constructor Summary
FtpTimeStampedOutputStream(OutputStream nativeOutputStream, FtpClientSession clientSession)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(byte[] dataBytes)
           
 void write(byte[] dataBytes, int offset, int len)
           
 void write(int dataByte)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpTimeStampedOutputStream

public FtpTimeStampedOutputStream(OutputStream nativeOutputStream,
                                  FtpClientSession clientSession)
Method Detail

write

public void write(int dataByte)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] dataBytes)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] dataBytes,
                  int offset,
                  int len)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
Throws:
IOException

eXo JCR :: Component :: FTP Service 1.15.14-GA

Copyright © 2015 eXo Platform SAS. All Rights Reserved.