microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java
String getCanonicalName() {
        StringBuilder canonicalName = new StringBuilder("/");
        canonicalName.append(SR.FILE);

        String rawPath = this.getUri().getRawPath();
        if (this.fileServiceClient.isUsePathStyleUris()) {
            canonicalName.append(rawPath);
        }
        else {
            canonicalName.append(PathUtility.getCanonicalPathFromCredentials(
                    this.getServiceClient().getCredentials(), rawPath));
        }
        
        return canonicalName.toString();
    }
String getCanonicalName() {
        StringBuilder canonicalName = new StringBuilder("/");
        canonicalName.append(SR.FILE);

        String rawPath = this.getUri().getRawPath();
        if (this.fileServiceClient.isUsePathStyleUris()) {
            canonicalName.append(rawPath);
        }
        else {
            canonicalName.append(PathUtility.getCanonicalPathFromCredentials(
                    this.getServiceClient().getCredentials(), rawPath));
        }
        
        return canonicalName.toString();
    }
String getCanonicalName ( ) { StringBuilder canonicalName = new StringBuilder ( "/" ) ; canonicalName . append ( SR . FILE ) ; String rawPath = this . getUri ( ) . getRawPath ( ) ; if ( this . fileServiceClient . isUsePathStyleUris ( ) ) { canonicalName . append ( rawPath ) ; } else { canonicalName . append ( PathUtility . getCanonicalPathFromCredentials ( this . getServiceClient ( ) . getCredentials ( ) , rawPath ) ) ; } return canonicalName . toString ( ) ; }
Returns the canonical name of the file in the format of
<i>/&lt;service-name&gt;/&lt;account-name&gt;/&lt;share-name&gt;/&lt;file-name&gt;</i>.
<p>
This format is used for Shared Access operations.

@return The canonical name in the format of <i>/&lt;service-name&gt;/&lt;account-name&gt;
/&lt;share-name&gt;/&lt;file-name&gt;</i>.
Returns the canonical name of the file in the format of <i > / &lt ; service - name&gt ; / &lt ; account - name&gt ; / &lt ; share - name&gt ; / &lt ; file - name&gt ; < / i > . <p > This format is used for Shared Access operations .