jp.terasoluna.fw.web.struts.actions
Class DownloadFileNameEncoderImpl
java.lang.Object
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. |
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 |
log
private static final org.apache.commons.logging.Log log
- Log class.
DownloadFileNameEncoderImpl
public DownloadFileNameEncoderImpl()
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.