Library: OSP
Package: Bundle
Header: Poco/OSP/BundleFile.h
BundleFile implements the BundleStorage interface for bundles stored in Zip files.
Direct Base Classes: BundleStorage
All Base Classes: BundleStorage, Poco::RefCountedObject
Member Functions: getResource, isSubdirectoryOf, list, path
Inherited Functions: duplicate, getResource, list, path, referenceCount, release
BundleFile(
    const std::string & path
);
Creates the BundleFile, using the given path which must specify a Zip file.
 
   
 ~BundleFile();
Destroys the BundleDirectory.
 
 std::istream * getResource(
    const std::string & path
) const;
See also: Poco::OSP::BundleStorage::getResource()
 
 void list(
    const std::string & path,
    std::vector < std::string > & files
) const;
See also: Poco::OSP::BundleStorage::list()
 
 std::string path() const;
See also: Poco::OSP::BundleStorage::path()
 
 bool isSubdirectoryOf(
    const std::string & dir,
    const std::string & parent
) const;
Returns true if and only if dir is a subdirectory of parent.