| java.lang.Object com.sourcetap.sfa.attachment.AttachmentHelper
AttachmentHelper | public class AttachmentHelper (Code) | | DOCUMENT ME!
|
AttachmentHelper | public AttachmentHelper()(Code) | | |
downloadFile | public static void downloadFile(HttpServletResponse response, String sourceFile, String destFileName) throws IOException, ServletException(Code) | | Downloads a file to the client.
Parameters: response - the client connection that will be used for download Parameters: sourceFile - the full abosulute path to the file to be downloaded Parameters: destFileName - the default destination name of the file exception: IOException - if an input or output exception has occurred |
downloadFile | public static void downloadFile(HttpServletResponse response, String sourceFile, String contentType, String destFileName, int blockSize) throws IOException, ServletException(Code) | | Downloads a file to the client.
Parameters: response - the client connection that will be used for download Parameters: sourceFile - the full abosulute path to the file to be downloaded Parameters: contentType - the type of document to send to the client Parameters: destFileName - the default destination name of the file Parameters: blockSize - the chunksize used to send the file down exception: IOException - if an input or output exception has occurred |
|
|