Class LayeredFileName

    • Field Detail

      • outerUri

        private final FileName outerUri
    • Constructor Detail

      • LayeredFileName

        public LayeredFileName​(java.lang.String scheme,
                               FileName outerUri,
                               java.lang.String path,
                               FileType type)
    • Method Detail

      • getOuterName

        public FileName getOuterName()
        Returns the URI of the outer file.
        Returns:
        The FileName.
      • createName

        public FileName createName​(java.lang.String path,
                                   FileType type)
        Creates a FileName.
        Specified by:
        createName in class AbstractFileName
        Parameters:
        path - The file URI.
        type - The FileType.
        Returns:
        The FileName.
      • 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.