org.vrspace.server.object
Class File.UploadFilter

java.lang.Object
  extended byorg.vrspace.server.object.File.UploadFilter
All Implemented Interfaces:
Filter
Direct Known Subclasses:
File.GZippedUploadFilter
Enclosing class:
File

public class File.UploadFilter
extends java.lang.Object
implements Filter

Implements file transfer.


Constructor Summary
File.UploadFilter(File file, Client client)
           
 
Method Summary
 byte[] filter(byte[] b, int offset, int len)
           
 byte[] flush()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File.UploadFilter

public File.UploadFilter(File file,
                         Client client)
Method Detail

filter

public byte[] filter(byte[] b,
                     int offset,
                     int len)
Specified by:
filter in interface Filter

flush

public byte[] flush()
Specified by:
flush in interface Filter