#include <PathResolver.h>
Public Member Functions | |
virtual std::wstring | readContent (const std::wstring &path)=0 |
Locate the path and read its content. More... | |
virtual void | setBasePath (const std::wstring &path)=0 |
Set base path for resolving relative paths. More... | |
virtual std::wstring | getFolderPath (const std::wstring &path) const =0 |
get folder of the provided path More... | |
This interface abstracts resolving inserted paths and reading corresponding content. It allows to support insertion both from a file system and e.g. MSI binary streams where inserted paths may be mapped to the corresponding binary stream IDs.
|
pure virtual |
get folder of the provided path
Implemented in MockNameResolver, AppSecInc::Databases::ODBC::FilesystemPathResolver, and AppSecInc::Databases::ODBC::BinaryIdPathResolver.
|
pure virtual |
Locate the path and read its content.
Implemented in MockNameResolver, AppSecInc::Databases::ODBC::FilesystemPathResolver, and AppSecInc::Databases::ODBC::BinaryIdPathResolver.
|
pure virtual |
Set base path for resolving relative paths.
Implemented in MockNameResolver, AppSecInc::Databases::ODBC::FilesystemPathResolver, and AppSecInc::Databases::ODBC::BinaryIdPathResolver.
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |