@ DoesServiceRequest public void create ( final long size , final AccessCondition accessCondition , FileRequestOptions options , OperationContext opContext ) throws StorageException , URISyntaxException { if ( opContext == null ) { opContext = new OperationContext ( ) ; } this . getShare ( ) . assertNoSnapshot ( ) ; options = FileRequestOptions . populateAndApplyDefaults ( options , this . fileServiceClient ) ; ExecutionEngine . executeWithRetry ( this . fileServiceClient , this , this . createImpl ( size , accessCondition , options ) , options . getRetryPolicyFactory ( ) , opContext ) ; }
Creates a file using the specified access condition request options and operation context . If the file already exists this will replace it .