xecure.file
Class XecureFileInputStream
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
xecure.file.XecureFileInputStream
- public class XecureFileInputStream
- extends javax.servlet.ServletInputStream
Field Summary |
javax.servlet.http.HttpServletRequest |
req
|
Methods inherited from class javax.servlet.ServletInputStream |
readLine |
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
req
public javax.servlet.http.HttpServletRequest req
XecureFileInputStream
public XecureFileInputStream(XecureSession xecuresession,
XecureHttpServletRequest request)
throws XecureServletException
getFileName
public java.lang.String getFileName()
getFileSize
public int getFileSize()
saveFileAt
public int saveFileAt(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
saveFileAs
public int saveFileAs(java.lang.String path,
java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
saveFileAsEnveloped
public int saveFileAsEnveloped(java.lang.String certPath,
java.lang.String path)
saveFileAsEnveloped
public int saveFileAsEnveloped(java.lang.String certPath,
java.lang.String path,
java.lang.String fileName)