public interface SerializableStreamContentHandler extends Closeable
SerializableStream
.Modifier and Type | Interface and Description |
---|---|
static class |
SerializableStreamContentHandler.ContentHandlers
Enumeration of available content handlers.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream() |
boolean |
persisted() |
long |
write(SaRMIServerCommand command,
int token,
String filename,
byte[] buffer,
boolean isLast,
int element,
boolean doStreaming)
Writes the content.
|
long write(SaRMIServerCommand command, int token, String filename, byte[] buffer, boolean isLast, int element, boolean doStreaming) throws IOException
command
- server command used for writingtoken
- current user tokenfilename
- name of the file that is writtenbuffer
- data to writeisLast
- whether the buffer is the last one to writeelement
- content element that is writtendoStreaming
- enable or disable streaming to the archiveIOException
- IO exception when writingboolean persisted()
InputStream getInputStream() throws IOException
IOException
- IO exception when opening streamCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.