org.exoplatform.services.ftp.data
Class FtpTimeStampedOutputStream
java.lang.Object
java.io.OutputStream
org.exoplatform.services.ftp.data.FtpTimeStampedOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class FtpTimeStampedOutputStream
- extends java.io.OutputStream
Created by The eXo Platform SAS Author : Vitaly Guly
- Version:
- $Id: FtpTimeStampedOutputStream.java 35180 2009-08-07 14:04:22Z pnedonosko $
|
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(java.io.OutputStream nativeOutputStream,
FtpClientSession clientSession)
write
public void write(int dataByte)
throws java.io.IOException
- Specified by:
write in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] dataBytes)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] dataBytes,
int offset,
int len)
throws java.io.IOException
- Overrides:
write in class java.io.OutputStream
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface java.io.Flushable- Overrides:
flush in class java.io.OutputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.OutputStream
- Throws:
java.io.IOException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.