public class CMSProcessableFile extends java.lang.Object implements CMSProcessable
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
_buf |
private java.io.File |
_file |
private static int |
DEFAULT_BUF_SIZE |
| Constructor and Description |
|---|
CMSProcessableFile(java.io.File file) |
CMSProcessableFile(java.io.File file,
int bufSize) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getContent()
Return the file handle.
|
void |
write(java.io.OutputStream zOut)
generic routine to copy out the data we want processed - the OutputStream
passed in will do the handling on it's own.
|
private static final int DEFAULT_BUF_SIZE
private final java.io.File _file
private final byte[] _buf
public CMSProcessableFile(java.io.File file)
public CMSProcessableFile(java.io.File file,
int bufSize)
public void write(java.io.OutputStream zOut)
throws java.io.IOException,
CMSException
CMSProcessableNote: this routine may be called multiple times.
write in interface CMSProcessablejava.io.IOExceptionCMSExceptionpublic java.lang.Object getContent()
getContent in interface CMSProcessableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.