public class TempBufferContentHandler extends Object implements SerializableStreamContentHandler
SerializableStreamContentHandler.ContentHandlers
Constructor and Description |
---|
TempBufferContentHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStream |
getInputStream() |
boolean |
persisted() |
long |
write(SaRMIServerCommand command,
int token,
String filename,
byte[] buffer,
boolean isLast,
int element,
boolean doStreaming) |
public long write(SaRMIServerCommand command, int token, String filename, byte[] buffer, boolean isLast, int element, boolean doStreaming) throws IOException
write
in interface SerializableStreamContentHandler
IOException
public boolean persisted()
persisted
in interface SerializableStreamContentHandler
public InputStream getInputStream() throws IOException
getInputStream
in interface SerializableStreamContentHandler
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2016 SAPERION AG. All rights reserved.