ome.formats.importer.util
Class ErrorFilePart

java.lang.Object
  extended by org.apache.commons.httpclient.methods.multipart.Part
      extended by org.apache.commons.httpclient.methods.multipart.PartBase
          extended by org.apache.commons.httpclient.methods.multipart.FilePart
              extended by ome.formats.importer.util.ErrorFilePart

public class ErrorFilePart
extends org.apache.commons.httpclient.methods.multipart.FilePart

Author:
Brian Loranger brain at lifesci.dundee.ac.uk, Chris Allan

Field Summary
 boolean cancel
           
 
Fields inherited from class org.apache.commons.httpclient.methods.multipart.FilePart
DEFAULT_CHARSET, DEFAULT_CONTENT_TYPE, DEFAULT_TRANSFER_ENCODING, FILE_NAME
 
Fields inherited from class org.apache.commons.httpclient.methods.multipart.Part
BOUNDARY, BOUNDARY_BYTES, CHARSET, CHARSET_BYTES, CONTENT_DISPOSITION, CONTENT_DISPOSITION_BYTES, CONTENT_TRANSFER_ENCODING, CONTENT_TRANSFER_ENCODING_BYTES, CONTENT_TYPE, CONTENT_TYPE_BYTES, CRLF, CRLF_BYTES, EXTRA, EXTRA_BYTES, QUOTE, QUOTE_BYTES
 
Constructor Summary
ErrorFilePart(String name, File file)
          Calls parent 'FilePart' class
 
Method Summary
protected  void sendData(OutputStream out)
           
 
Methods inherited from class org.apache.commons.httpclient.methods.multipart.FilePart
getSource, lengthOfData, sendDispositionHeader
 
Methods inherited from class org.apache.commons.httpclient.methods.multipart.PartBase
getCharSet, getContentType, getName, getTransferEncoding, setCharSet, setContentType, setName, setTransferEncoding
 
Methods inherited from class org.apache.commons.httpclient.methods.multipart.Part
getBoundary, getLengthOfParts, getLengthOfParts, getPartBoundary, isRepeatable, length, send, sendContentTypeHeader, sendEnd, sendEndOfHeader, sendParts, sendParts, sendStart, sendTransferEncodingHeader, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cancel

public boolean cancel
Constructor Detail

ErrorFilePart

public ErrorFilePart(String name,
                     File file)
              throws FileNotFoundException
Calls parent 'FilePart' class

Parameters:
name -
file -
Throws:
FileNotFoundException
Method Detail

sendData

protected void sendData(OutputStream out)
                 throws IOException
Overrides:
sendData in class org.apache.commons.httpclient.methods.multipart.FilePart
Throws:
IOException


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.