Class FtpTimeStampedOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.exoplatform.services.ftp.data.FtpTimeStampedOutputStream
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class FtpTimeStampedOutputStream extends OutputStream
Created by The eXo Platform SAS Author : Vitaly Guly gavrik-vetal@ukr.net/mail.ru- Version:
- $Id: $
-
-
Constructor Summary
Constructors Constructor Description FtpTimeStampedOutputStream(OutputStream nativeOutputStream, FtpClientSession clientSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(byte[] dataBytes)voidwrite(byte[] dataBytes, int offset, int len)voidwrite(int dataByte)-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
FtpTimeStampedOutputStream
public FtpTimeStampedOutputStream(OutputStream nativeOutputStream, FtpClientSession clientSession)
-
-
Method Detail
-
write
public void write(int dataByte) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] dataBytes) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] dataBytes, int offset, int len) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
-