wt.fv.uploadtocache
Class BackupedFileOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bywt.fv.uploadtocache.BackupedFileOutputStream

public class BackupedFileOutputStream
extends OutputStream


Field Summary
(package private)  FileOutputStream[] oss
           
 
Constructor Summary
BackupedFileOutputStream(BackupedFile backupedFile)
           
BackupedFileOutputStream(BackupedFile backupedFile, boolean append)
           
 
Method Summary
 void close()
           
 void flush()
           
private static void PP(String s)
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oss

FileOutputStream[] oss
Constructor Detail

BackupedFileOutputStream

public BackupedFileOutputStream(BackupedFile backupedFile)
                         throws IOException

BackupedFileOutputStream

public BackupedFileOutputStream(BackupedFile backupedFile,
                                boolean append)
                         throws IOException
Method Detail

write

public void write(int b)
           throws IOException
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

PP

private static void PP(String s)