SourceJammer May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

Class FileUploader

All Implemented Interfaces:

public class FileUploader
extends java.lang.Object
implements Uploader

This object allows the client to chop up a file into smaller chunks and stream in each chunk in sequence. SOAP client should be able to instantiate and manipulate this object.

Constructor Summary
          Construct a new FileUploader.
Method Summary
 long getFileUploadID()
          Returns the unique file upload ID.
 void uploadBytes(SendBytes by)
          Streams bytes into the FileUploader.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FileUploader()
             throws FileSendException
Construct a new FileUploader. Gets and stores file upload ID for this upload. Created temp file object.
FileUploadException - if object has trouble writing to server's file system.
Method Detail


public long getFileUploadID()
Returns the unique file upload ID. This needs to be passed to MCP check in or add method.
Specified by:
getFileUploadID in interface Uploader


public void uploadBytes(SendBytes by)
                 throws FileSendException
Streams bytes into the FileUploader.
Specified by:
uploadBytes in interface Uploader
by - -- SendBytes object wrapped around bytes..

SourceJammer May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan