org.codelabor.system.file.web.struts.action
Class FileDownloadAction.ByteArrayStreamInfo
java.lang.Object
org.codelabor.system.file.web.struts.action.FileDownloadAction.ByteArrayStreamInfo
- All Implemented Interfaces:
- org.apache.struts.actions.DownloadAction.StreamInfo
- Enclosing class:
- FileDownloadAction
public static class FileDownloadAction.ByteArrayStreamInfo
- extends Object
- implements org.apache.struts.actions.DownloadAction.StreamInfo
바이크 배열 스트림 정보 클래스
- Author:
- Shin Sang-jae
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentType
protected String contentType
- 컨텐트 타입
bytes
protected byte[] bytes
- 바이트 배열
FileDownloadAction.ByteArrayStreamInfo
public FileDownloadAction.ByteArrayStreamInfo(String contentType,
byte[] bytes)
- 생성자
- Parameters:
contentType
- 컨탠트 타입bytes
- 바이트 배열
getContentType
public String getContentType()
- Specified by:
getContentType
in interface org.apache.struts.actions.DownloadAction.StreamInfo
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface org.apache.struts.actions.DownloadAction.StreamInfo
- Throws:
IOException
Copyright © 2011 CODELABOR. All Rights Reserved.