|
JUCE
|
A lightweight object that can create a stream to read some kind of resource. More...
Public Member Functions | |
| InputSource ()=default | |
| virtual | ~InputSource ()=default |
| Destructor. More... | |
| virtual InputStream * | createInputStream ()=0 |
| Returns a new InputStream to read this item. More... | |
| virtual InputStream * | createInputStreamFor (const String &relatedItemPath)=0 |
| Returns a new InputStream to read an item, relative. More... | |
| virtual int64 | hashCode () const =0 |
| Returns a hash code that uniquely represents this item. More... | |
A lightweight object that can create a stream to read some kind of resource.
This may be used to refer to a file, or some other kind of source, allowing a caller to create an input stream that can read from it when required.
|
default |
|
virtualdefault |
Destructor.
|
pure virtual |
Returns a new InputStream to read this item.
Implemented in URLInputSource, and FileInputSource.
|
pure virtual |
Returns a new InputStream to read an item, relative.
| relatedItemPath | the relative pathname of the resource that is required |
Implemented in URLInputSource, and FileInputSource.
|
pure virtual |
Returns a hash code that uniquely represents this item.
Implemented in URLInputSource, and FileInputSource.
1.8.13