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