org.exoplatform.services.ftp.data
Class FtpTimeStampedOutputStream
java.lang.Object
java.io.OutputStream
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: $
|
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 |
FtpTimeStampedOutputStream
public FtpTimeStampedOutputStream(OutputStream nativeOutputStream,
FtpClientSession clientSession)
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
Copyright © 2013 eXo Platform SAS. All Rights Reserved.