public static class DownloadedContent.InMemory extends Object implements DownloadedContent
DownloadedContent.InMemory, DownloadedContent.OnFile
Constructor and Description |
---|
DownloadedContent.InMemory(byte[] byteArray) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Clean up resources associated to this content.
|
InputStream |
getInputStream()
Returns a new
InputStream allowing to read the downloaded content. |
boolean |
isEmpty()
Returns true if the content is empty.
|
public InputStream getInputStream()
DownloadedContent
InputStream
allowing to read the downloaded content.getInputStream
in interface DownloadedContent
public void cleanUp()
DownloadedContent
cleanUp
in interface DownloadedContent
public boolean isEmpty()
DownloadedContent
isEmpty
in interface DownloadedContent
Copyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.