FileInputSource Class Reference

A type of InputSource that represents a normal file. More...

Inherits InputSource.

List of all members.

Public Member Functions

 FileInputSource (const File &file)
 ~FileInputSource ()
InputStreamcreateInputStream ()
 Returns a new InputStream to read this item.
InputStreamcreateInputStreamFor (const String &relatedItemPath)
 Returns a new InputStream to read an item, relative.
int64 hashCode () const
 Returns a hash code that uniquely represents this item.

Detailed Description

A type of InputSource that represents a normal file.

See also:
InputSource

Constructor & Destructor Documentation

FileInputSource::FileInputSource ( const File file  ) 
FileInputSource::~FileInputSource (  ) 

Member Function Documentation

InputStream* FileInputSource::createInputStream (  )  [virtual]

Returns a new InputStream to read this item.

Returns:
an inputstream that the caller will delete, or 0 if the filename isn't found.

Implements InputSource.

InputStream* FileInputSource::createInputStreamFor ( const String relatedItemPath  )  [virtual]

Returns a new InputStream to read an item, relative.

Parameters:
relatedItemPath the relative pathname of the resource that is required
Returns:
an inputstream that the caller will delete, or 0 if the item isn't found.

Implements InputSource.

int64 FileInputSource::hashCode (  )  const [virtual]

Returns a hash code that uniquely represents this item.

Implements InputSource.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Apr 26 11:42:12 2010 for JUCE by  doxygen 1.6.3