|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--javax.servlet.ServletOutputStream | +--xecure.file.XecureFileOutputStream
XecureFileOutputStream Ŭ·¡½º´Â XecureWeb À» Àû¿ëÇÑ ¼ºí¸´, JSP ¿¡¼ »ç¿ëµÇ´Â OutputStream ÀÌ´Ù. ÀÌ OutputStream À» ÅëÇØ Response µÇ´Â µ¥ÀÌŸ¸¦ ¾ÏÈ£È ÇÑ´Ù.
Field Summary | |
javax.servlet.http.HttpServletResponse |
rep
|
javax.servlet.http.HttpServletRequest |
req
|
Constructor Summary | |
XecureFileOutputStream(XecureSession xecureSession,
XecureHttpServletRequest request,
XecureHttpServletResponse response,
javax.servlet.ServletOutputStream out)
XecureFileOutputStream constructor |
Method Summary | |
void |
close()
close of ServletOutputStream |
void |
fileDownload()
ÆÄÀÏ ´Ù¿î·Îµå ÇÔ¼ö download the file requested with "filePath"parameter of FileDownload function of Client control. |
void |
fileDownload(java.lang.String filename)
ÆÄÀÏ ´Ù¿î·Îµå ÇÔ¼ö |
void |
fileDownload(java.lang.String filename,
java.lang.String dispName)
ÆÄÀÏ ´Ù¿î·Îµå ÇÔ¼ö |
void |
flush()
flush of ServletOutputStream |
java.lang.String |
getFileName()
flush of ServletOutputStream |
void |
print(java.lang.String s)
Print string. |
void |
println()
Print linefeed. |
void |
println(java.lang.String x)
Print a string following linefeed. |
void |
write(byte[] buf)
ÈÀÏ ³»¿ëÀ» ¾ÏÈ£ÈÇÏ¿© Àü¼ÛÇÑ´Ù. Á¦Å¥¾îÀ¥ Ŭ¶óÀÌ¾ðÆ®°¡ ó¸®ÇÒ ¼ö ÀÖµµ·Ï writeHeader(int) ¸¦ ¸ÕÀú È£ÃâÇØ¾ß ÇÑ´Ù. Å« ÈÀÏÀÇ °æ¿ì, Àû´çÇÑ Å©±â·Î ³ª´©¾î ¿©·¯¹ø È£ÃâÇÑ´Ù. |
void |
write(int c)
Write a single character. |
void |
writeHeader(int fileSize)
ÈÀÏ´Ù¿î·Îµå Çì´õ¸¦ Àü¼ÛÇÑ´Ù. |
Methods inherited from class javax.servlet.ServletOutputStream |
print,
print,
print,
print,
print,
print,
println,
println,
println,
println,
println,
println |
Methods inherited from class java.io.OutputStream |
write |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public javax.servlet.http.HttpServletResponse rep
public javax.servlet.http.HttpServletRequest req
Constructor Detail |
public XecureFileOutputStream(XecureSession xecureSession, XecureHttpServletRequest request, XecureHttpServletResponse response, javax.servlet.ServletOutputStream out) throws java.io.IOException
xecureSession
- ¾ÏÈ£ ¼¼¼Ç Á¤º¸request
- request of XecureServletresponse
- response of XecureServletout
- µðÆúÆ® ¼ºí¸´ÀÇ response.getOutputStream()Method Detail |
public void close() throws java.io.IOException
public void flush() throws java.io.IOException
public java.lang.String getFileName()
public void fileDownload() throws java.io.IOException
public void fileDownload(java.lang.String filename) throws java.io.IOException
filename
- download the file indicated by "filename" with no regads to request by FileDownload function
of Client controlpublic void fileDownload(java.lang.String filename, java.lang.String dispName) throws java.io.IOException
filename
- ¼¹ö¿¡ Á¸ÀçÇÏ´Â Àü¼ÛÇÒ ÈÀϸídispName
- Ŭ¶óÀÌ¾ðÆ®¿¡ Àü´ÞµÇ´Â ÈÀϸípublic void write(int c) throws java.io.IOException
public void println() throws java.io.IOException
public void println(java.lang.String x) throws java.io.IOException
public void print(java.lang.String s) throws java.io.IOException
public void writeHeader(int fileSize) throws java.io.IOException
fileSize
- Àü¼ÛµÉ ÈÀÏÀÇ ¿øº» Å©±âwrite(byte[])
public void write(byte[] buf) throws java.io.IOException
buf
- Àü¼ÛµÉ µ¥ÀÌŸwriteHeader(int)
,
OutputStream.write(byte[])
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |