OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_FileInputSource.h>
Public Member Functions | |
FileInputSource (const File &file, bool useFileTimeInHashGeneration=false) | |
~FileInputSource () override | |
InputStream * | createInputStream () override |
InputStream * | createInputStreamFor (const String &relatedItemPath) override |
int64 | hashCode () const override |
![]() | |
virtual | ~InputSource ()=default |
A type of InputSource that represents a normal file.
Definition at line 34 of file juce_FileInputSource.h.
juce::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.
Definition at line 26 of file juce_FileInputSource.cpp.
|
override |
Destructor.
Definition at line 31 of file juce_FileInputSource.cpp.
|
overridevirtual |
Returns a new InputStream to read this item.
Implements juce::InputSource.
Definition at line 35 of file juce_FileInputSource.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 40 of file juce_FileInputSource.cpp.
|
overridevirtual |
Returns a hash code that uniquely represents this item.
Implements juce::InputSource.
Definition at line 45 of file juce_FileInputSource.cpp.