Lines Matching refs:readonlyCopy
191 String readonlyCopy = dirnameTo + "XSimpleFileAccess_copy.txt" ; in _isReadOnly() local
193 if (oObj.exists(readonlyCopy)) in _isReadOnly()
194 oObj.kill(readonlyCopy); in _isReadOnly()
196 oObj.copy(filename, readonlyCopy); in _isReadOnly()
198 oObj.setReadOnly(readonlyCopy, true); in _isReadOnly()
199 result &= oObj.isReadOnly(readonlyCopy); in _isReadOnly()
200 oObj.setReadOnly(readonlyCopy, false); in _isReadOnly()
201 result &= !oObj.isReadOnly(readonlyCopy); in _isReadOnly()
203 oObj.kill(readonlyCopy); in _isReadOnly()
237 String readonlyCopy = dirnameTo + "XSimpleFileAccess_copy.txt" ; in _setReadOnly() local
239 if (oObj.exists(readonlyCopy)) in _setReadOnly()
240 oObj.kill(readonlyCopy); in _setReadOnly()
242 oObj.copy(filename, readonlyCopy); in _setReadOnly()
244 oObj.setReadOnly(readonlyCopy, true); in _setReadOnly()
245 result &= oObj.isReadOnly(readonlyCopy) ; in _setReadOnly()
246 oObj.setReadOnly(readonlyCopy, false); in _setReadOnly()
247 result &= !oObj.isReadOnly(readonlyCopy) ; in _setReadOnly()
250 oObj.kill(readonlyCopy); in _setReadOnly()