xecure.file
Class XecureFileInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjavax.servlet.ServletInputStream
          extended byxecure.file.XecureFileInputStream

public class XecureFileInputStream
extends javax.servlet.ServletInputStream


Field Summary
 javax.servlet.http.HttpServletRequest req
           
 
Constructor Summary
XecureFileInputStream(XecureSession xecuresession, XecureHttpServletRequest request)
           
 
Method Summary
 java.lang.String getFileName()
           
 int getFileSize()
           
 int read()
           
 int saveFileAs(java.lang.String path, java.lang.String fileName)
           
 int saveFileAsEnveloped(java.lang.String certPath, java.lang.String path)
           
 int saveFileAsEnveloped(java.lang.String certPath, java.lang.String path, java.lang.String fileName)
           
 int saveFileAt(java.lang.String path)
           
 
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
 

Field Detail

req

public javax.servlet.http.HttpServletRequest req
Constructor Detail

XecureFileInputStream

public XecureFileInputStream(XecureSession xecuresession,
                             XecureHttpServletRequest request)
                      throws XecureServletException
Method Detail

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)