public void uploadText ( final String content , final String charsetName , final AccessCondition accessCondition , FileRequestOptions options , OperationContext opContext ) throws StorageException , IOException , URISyntaxException { byte [ ] bytes = ( charsetName == null ) ? content . getBytes ( ) : content . getBytes ( charsetName ) ; this . uploadFromByteArray ( bytes , 0 , bytes . length , accessCondition , options , opContext ) ; }
Uploads a file from a string using the specified encoding . If the file already exists on the service it will be overwritten .