Package com.soffid.iam.doc.api
Class DocumentInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.soffid.iam.doc.api.DocumentInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class DocumentInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description DocumentInputStream(DocumentService documentService)
DocumentInputStream(DocumentService ejbDocumentService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read()
-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
DocumentInputStream
public DocumentInputStream(DocumentService documentService) throws DocumentBeanException, InternalErrorException
-
DocumentInputStream
public DocumentInputStream(DocumentService ejbDocumentService) throws DocumentBeanException, InternalErrorException
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
-