jp.terasoluna.fw.web.struts.actions
Class DownloadFileNameEncoderImpl

java.lang.Object
  extended by jp.terasoluna.fw.web.struts.actions.DownloadFileNameEncoderImpl
All Implemented Interfaces:
DownloadFileNameEncoder

public class DownloadFileNameEncoderImpl
extends java.lang.Object
implements DownloadFileNameEncoder

Class that encodes the specified file name at the time of download.

This class is supported only in Internet Explorer.


Field Summary
private static org.apache.commons.logging.Log log
          Log class.
 
Constructor Summary
DownloadFileNameEncoderImpl()
           
 
Method Summary
 java.lang.String encode(java.lang.String original, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Encodes the specified file name at the time of download.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log
Log class.

Constructor Detail

DownloadFileNameEncoderImpl

public DownloadFileNameEncoderImpl()
Method Detail

encode

public java.lang.String encode(java.lang.String original,
                               javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
Encodes the specified file name at the time of download.

Specified by:
encode in interface DownloadFileNameEncoder
Parameters:
original - Original string.
Returns:
Encoded string.