An InputSource backed by an AndroidDocument. More...
#include <juce_AndroidDocumentInputSource.h>
Public Member Functions | |
AndroidDocumentInputSource (const AndroidDocument &doc) | |
Creates a new AndroidDocumentInputSource, backed by the provided document. | |
InputStream * | createInputStream () override |
Returns a new InputStream to read this item. | |
InputStream * | createInputStreamFor (const String &relatedItemPath) override |
Returns a new InputStream to read an item, relative. | |
int64 | hashCode () const override |
Returns a hash code that uniquely represents this item. | |
Public Member Functions inherited from InputSource | |
InputSource ()=default | |
virtual | ~InputSource ()=default |
Destructor. | |
An InputSource backed by an AndroidDocument.
|
explicit |
Creates a new AndroidDocumentInputSource, backed by the provided document.
|
overridevirtual |
Returns a new InputStream to read this item.
Implements InputSource.
|
overridevirtual |
Returns a new InputStream to read an item, relative.
relatedItemPath | the relative pathname of the resource that is required |
Implements InputSource.
References String::isEmpty().
|
overridevirtual |
Returns a hash code that uniquely represents this item.
Implements InputSource.