77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
* `w+x` | Read-write, create or fail, exclusive
* `a` | Write-only, create or append
* `a+` | Read-write, create or append
* @n
* The handler is allowed to not implement all modes and is also
* allowed to implement additional, scheme-specific modes.
* @return The opened stream if it was successfully opened
*/
+ (OFStream *)openItemAtURL: (OFURL *)URL mode: (OFString *)mode;
- (instancetype)init OF_UNAVAILABLE;
/**
* @brief Initializes the handler for the specified scheme.
|
>
|
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
* `w+x` | Read-write, create or fail, exclusive
* `a` | Write-only, create or append
* `a+` | Read-write, create or append
* @n
* The handler is allowed to not implement all modes and is also
* allowed to implement additional, scheme-specific modes.
* @return The opened stream if it was successfully opened
* @throw OFOpenItemFailedException Opening the item failed
*/
+ (OFStream *)openItemAtURL: (OFURL *)URL mode: (OFString *)mode;
- (instancetype)init OF_UNAVAILABLE;
/**
* @brief Initializes the handler for the specified scheme.
|
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
* `w+x` | Read-write, create or fail, exclusive
* `a` | Write-only, create or append
* `a+` | Read-write, create or append
* @n
* The handler is allowed to not implement all modes and is also
* allowed to implement additional, scheme-specific modes.
* @return The opened stream if it was successfully opened
*/
- (OFStream *)openItemAtURL: (OFURL *)URL mode: (OFString *)mode;
/**
* @brief Returns the attributes for the item at the specified URL.
*
* @param URL The URL to return the attributes for
|
>
|
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
* `w+x` | Read-write, create or fail, exclusive
* `a` | Write-only, create or append
* `a+` | Read-write, create or append
* @n
* The handler is allowed to not implement all modes and is also
* allowed to implement additional, scheme-specific modes.
* @return The opened stream if it was successfully opened
* @throw OFOpenItemFailedException Opening the item failed
*/
- (OFStream *)openItemAtURL: (OFURL *)URL mode: (OFString *)mode;
/**
* @brief Returns the attributes for the item at the specified URL.
*
* @param URL The URL to return the attributes for
|