JUCE
|
A type of InputSource that represents a URL. More...
Public Member Functions | |
URLInputSource (const URL &url) | |
Creates a URLInputSource for a url. More... | |
URLInputSource (URL &&url) | |
Move constructor which will move the URL into the InputSource. More... | |
~URLInputSource () override | |
Destructor. More... | |
InputStream * | createInputStream () override |
Returns a new InputStream to read this item. More... | |
InputStream * | createInputStreamFor (const String &relatedItemPath) override |
Returns a new InputStream to read an item, relative. More... | |
int64 | hashCode () const override |
Returns a hash code that uniquely represents this item. More... | |
Public Member Functions inherited from InputSource | |
InputSource ()=default | |
virtual | ~InputSource ()=default |
Destructor. More... | |
A type of InputSource that represents a URL.
URLInputSource::URLInputSource | ( | const URL & | url | ) |
Creates a URLInputSource for a url.
URLInputSource::URLInputSource | ( | URL && | url | ) |
Move constructor which will move the URL into the InputSource.
This is useful when the url carries any security credentials.
|
override |
Destructor.
|
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.
|
overridevirtual |
Returns a hash code that uniquely represents this item.
Implements InputSource.