Class MOXMAN_Azure_FileSystem
Inheritance | MOXMAN_Azure_FileSystem » MOXMAN_Vfs_FileSystem |
---|
This class returns file instances for the Azure File system.
Protected Properties
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Constructs a new Azure instance. | MOXMAN_Azure_FileSystem |
close() | Closes the file system. This will release any resources used by the file system. | MOXMAN_Azure_FileSystem |
createRequest() | MOXMAN_Azure_FileSystem | |
getConfig() | Config instance for the file system. | MOXMAN_Vfs_FileSystem |
getContainerOption() | MOXMAN_Azure_FileSystem | |
getFile() | Returns a MOXMAN_Vfs_IFile file instance for the specified path. | MOXMAN_Azure_FileSystem |
getFileConfigProvider() | Returns the config provider instance. | MOXMAN_Vfs_FileSystem |
getFileMetaDataProvider() | Returns the meta data provider instance. | MOXMAN_Vfs_FileSystem |
getFileUrlProvider() | Returns the url provider instance. | MOXMAN_Vfs_FileSystem |
getFileUrlResolver() | Returns the url resolver instance. | MOXMAN_Vfs_FileSystem |
getRootFile() | Returns the a file object for the root of the file system. | MOXMAN_Vfs_FileSystem |
getRootName() | Returns the name of the root for the file system. | MOXMAN_Vfs_FileSystem |
getRootPath() | Returns the path of the root for the file system. | MOXMAN_Vfs_FileSystem |
getScheme() | Returns the file system scheme for example "local". | MOXMAN_Vfs_FileSystem |
isCacheable() | Returns the true/false if the file system can be cached or not. | MOXMAN_Azure_FileSystem |
logHttpClient() | Logs HTTP client messages to log file with a specific prefix. | MOXMAN_Azure_FileSystem |
sendRequest() | MOXMAN_Azure_FileSystem | |
setFileConfigProvider() | Sets the config provider for the filesystem. | MOXMAN_Vfs_FileSystem |
setFileMetaDataProvider() | Sets the meta data provider instance. | MOXMAN_Vfs_FileSystem |
setFileUrlProvider() | Sets the url provider instance. | MOXMAN_Vfs_FileSystem |
setFileUrlResolver() | Sets the url resolver instance. | MOXMAN_Vfs_FileSystem |
Method Details
Constructs a new Azure instance.
public void __construct ( $scheme, $config, $root ) | ||
$scheme | String | File system protocol scheme. |
$config | MOXMAN_Util_Config | Config instance for file system. |
$root | String | Root path for file system. |
Closes the file system. This will release any resources used by the file system.
public void close ( ) |
public void createRequest ( $params ) | ||
$params |
public void getContainerOption ( $name, $default = false ) | ||
$name | ||
$default |
Returns a MOXMAN_Vfs_IFile file instance for the specified path.
public MOXMAN_Vfs_IFile getFile ( $path ) | ||
$path | String | Path of the file to get from file system. |
return | MOXMAN_Vfs_IFile | File instance for the specified path. |
---|
Returns the true/false if the file system can be cached or not.
public \True/false isCacheable ( ) | ||
return | \True/false | If the file system is cacheable or not. |
---|
Logs HTTP client messages to log file with a specific prefix.
public void logHttpClient ( $str ) | ||
$str | mixed | String to log. |
public void sendRequest ( MOXMAN_Http_HttpClientRequest $request, $data = null ) | ||
$request | ||
$data |