Class VirtualFileName

    • Constructor Detail

      • VirtualFileName

        public VirtualFileName​(java.lang.String scheme,
                               java.lang.String absolutePath,
                               FileType type)
        Constructs a new instance.
        Parameters:
        scheme - The scheme.
        absolutePath - the absolute path, maybe empty or null.
        type - the file type.
    • Method Detail

      • appendRootUri

        protected void appendRootUri​(java.lang.StringBuilder buffer,
                                     boolean addPassword)
        Description copied from class: AbstractFileName
        Builds the root URI for this file name. Note that the root URI must not end with a separator character.
        Specified by:
        appendRootUri in class AbstractFileName
        Parameters:
        buffer - A StringBuilder to use to construct the URI.
        addPassword - true if the password should be added, false otherwise.