|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
A type of InputSource that represents a URL. More...
#include "juce_URLInputSource.h"
Public Member Functions | |
| URLInputSource (const URL &url) | |
| Creates a URLInputSource for a url. | |
| URLInputSource (URL &&url) | |
| Move constructor which will move the URL into the InputSource. | |
| ~URLInputSource () override | |
| Destructor. | |
| 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 juce::InputSource | |
| virtual | ~InputSource ()=default |
| Destructor. | |
A type of InputSource that represents a URL.
@tags{Core}
Definition at line 34 of file juce_URLInputSource.h.
Creates a URLInputSource for a url.
Definition at line 26 of file juce_URLInputSource.cpp.
| 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.
Definition at line 31 of file juce_URLInputSource.cpp.
|
override |
Destructor.
Definition at line 36 of file juce_URLInputSource.cpp.
|
overridevirtual |
Returns a new InputStream to read this item.
Implements juce::InputSource.
Definition at line 40 of file juce_URLInputSource.cpp.
|
overridevirtual |
Returns a new InputStream to read an item, relative.
| relatedItemPath | the relative pathname of the resource that is required |
Implements juce::InputSource.
Definition at line 45 of file juce_URLInputSource.cpp.
|
overridevirtual |
Returns a hash code that uniquely represents this item.
Implements juce::InputSource.
Definition at line 57 of file juce_URLInputSource.cpp.