A type of InputSource that represents a URL.
More...
#include <juce_URLInputSource.h>
A type of InputSource that represents a URL.
- See also
- InputSource
{Core}
◆ URLInputSource() [1/2]
juce::URLInputSource::URLInputSource |
( |
const URL & |
url | ) |
|
◆ URLInputSource() [2/2]
juce::URLInputSource::URLInputSource |
( |
URL && |
url | ) |
|
Move constructor which will move the URL into the InputSource.
This is useful when the url carries any security credentials.
◆ ~URLInputSource()
juce::URLInputSource::~URLInputSource |
( |
| ) |
|
|
override |
◆ createInputStream()
InputStream* juce::URLInputSource::createInputStream |
( |
| ) |
|
|
overridevirtual |
Returns a new InputStream to read this item.
- Returns
- an inputstream that the caller will delete, or nullptr if the filename isn't found.
Implements juce::InputSource.
◆ createInputStreamFor()
InputStream* juce::URLInputSource::createInputStreamFor |
( |
const String & |
relatedItemPath | ) |
|
|
overridevirtual |
Returns a new InputStream to read an item, relative.
- Parameters
-
relatedItemPath | the relative pathname of the resource that is required |
- Returns
- an inputstream that the caller will delete, or nullptr if the item isn't found.
Implements juce::InputSource.
◆ hashCode()
int64 juce::URLInputSource::hashCode |
( |
| ) |
const |
|
overridevirtual |
Returns a hash code that uniquely represents this item.
Implements juce::InputSource.
const URL juce::URLInputSource::u |
|
private |
The documentation for this class was generated from the following file: