core/src/main/java/org/apache/commons/vfs2/provider/GenericFileName.java
/**
     * Builds the root URI for this file name.
     */
Builds the root URI for this file name.
Builds the root URI for this file name .
@Override
    protected void appendRootUri(final StringBuilder buffer, boolean addPassword)
    {
        buffer.append(getScheme());
        buffer.append("://");
        appendCredentials(buffer, addPassword);
        buffer.append(hostName);
        if (port != getDefaultPort())
        {
            buffer.append(':');
            buffer.append(port);
        }
    }
@ Override protected void appendRootUri ( final StringBuilder buffer , boolean addPassword ) { buffer . append ( getScheme ( ) ) ; buffer . append ( "://" ) ; appendCredentials ( buffer , addPassword ) ; buffer . append ( hostName ) ; if ( port != getDefaultPort ( ) ) { buffer . append ( ':' ) ; buffer . append ( port ) ; } }
Builds the root URI for this file name.
Builds the root URI for this file name .