|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DownloadFileNameEncoder
This interface is implemented by the class which encodes the specified file name at the time of download.
Encoding method can be changed by implementing this class and performing the settings mentioned below.
<bean class="jp.terasoluna.fw.web.struts.actions.FileDownloadUtil">
<property name="encoder" ref="encoder"/>
</bean>
<bean name="encoder" class="sample.MyEncoder"/>
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. |
Method Detail |
---|
java.lang.String encode(java.lang.String original, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
original
- Original string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |