public class GetDocumentStreamResult extends Object implements Closeable
Constructor and Description |
---|
GetDocumentStreamResult(GetDocumentStreamRequest request)
Initializes
GetDocumentStreamResult object. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes underlying stream if specified.
|
boolean |
equals(Object obj) |
String |
getDocumentId()
Gets document ID.
|
InputStream |
getStream()
Gets input stream of document.
|
String |
getVersionId()
Gets document version ID.
|
int |
hashCode() |
String |
toString() |
public GetDocumentStreamResult(GetDocumentStreamRequest request)
GetDocumentStreamResult
object.request
- GetDocumentStreamRequest
object.public final String getDocumentId()
public final String getVersionId()
public final InputStream getStream()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
- IO Exception.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.