An InputSource backed by an AndroidDocument.
More...
#include <juce_AndroidDocumentInputSource.h>
◆ AndroidDocumentInputSource()
| juce::AndroidDocumentInputSource::AndroidDocumentInputSource |
( |
const AndroidDocument & |
doc | ) |
|
|
inlineexplicit |
◆ createInputStream()
| InputStream * juce::AndroidDocumentInputSource::createInputStream |
( |
| ) |
|
|
inlineoverridevirtual |
Returns a new InputStream to read this item.
- Returns
- an inputstream that the caller will delete, or nullptr if the document can't be opened.
Implements juce::InputSource.
◆ createInputStreamFor()
| InputStream * juce::AndroidDocumentInputSource::createInputStreamFor |
( |
const String & |
relatedItemPath | ) |
|
|
inlineoverridevirtual |
An AndroidDocument doesn't use conventional filesystem paths. Use the member functions of AndroidDocument to locate relative items.
- Parameters
-
| relatedItemPath | the relative pathname of the resource that is required |
- Returns
- an input stream if relatedItemPath was empty, otherwise nullptr.
Implements juce::InputSource.
References juce::String::isEmpty().
◆ hashCode()
| int64 juce::AndroidDocumentInputSource::hashCode |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns a hash code that uniquely represents this item.
Implements juce::InputSource.
◆ document
The documentation for this class was generated from the following file: