|
JUCE
|
A type of InputSource that represents a normal file. More...
Inheritance diagram for FileInputSource:Public Member Functions | |
| FileInputSource (const File &file, bool useFileTimeInHashGeneration=false) | |
| Creates a FileInputSource for a file. More... | |
| ~FileInputSource () | |
| Destructor. More... | |
| InputStream * | createInputStream () |
| Returns a new InputStream to read this item. More... | |
| InputStream * | createInputStreamFor (const String &relatedItemPath) |
| Returns a new InputStream to read an item, relative. More... | |
| int64 | hashCode () const |
| Returns a hash code that uniquely represents this item. More... | |
Public Member Functions inherited from InputSource | |
| InputSource () noexcept | |
| virtual | ~InputSource () |
| Destructor. More... | |
A type of InputSource that represents a normal file.
| FileInputSource::FileInputSource | ( | const File & | file, |
| bool | useFileTimeInHashGeneration = false |
||
| ) |
Creates a FileInputSource for a file.
If the useFileTimeInHashGeneration parameter is true, then this object's hashCode() method will incorporate the file time into its hash code; if false, only the file name will be used for the hash.
| FileInputSource::~FileInputSource | ( | ) |
Destructor.
|
virtual |
Returns a new InputStream to read this item.
Implements InputSource.
|
virtual |
Returns a new InputStream to read an item, relative.
| relatedItemPath | the relative pathname of the resource that is required |
Implements InputSource.
|
virtual |
Returns a hash code that uniquely represents this item.
Implements InputSource.