Class ConnectionFileName

  • All Implemented Interfaces:
    Comparable<org.apache.commons.vfs2.FileName>, org.apache.commons.vfs2.FileName

    public class ConnectionFileName
    extends org.apache.commons.vfs2.provider.AbstractFileName
    • Field Summary

      • Fields inherited from interface org.apache.commons.vfs2.FileName

        ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
    • Constructor Detail

      • ConnectionFileName

        public ConnectionFileName​(String scheme,
                                  String connection,
                                  String absPath,
                                  org.apache.commons.vfs2.FileType type)
    • Method Detail

      • createName

        public org.apache.commons.vfs2.FileName createName​(String absPath,
                                                           org.apache.commons.vfs2.FileType type)
        Specified by:
        createName in class org.apache.commons.vfs2.provider.AbstractFileName
      • appendRootUri

        protected void appendRootUri​(StringBuilder buffer,
                                     boolean addPassword)
        Specified by:
        appendRootUri in class org.apache.commons.vfs2.provider.AbstractFileName
      • getConnection

        public String getConnection()
      • setConnection

        public void setConnection​(String connection)
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class org.apache.commons.vfs2.provider.AbstractFileName
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.apache.commons.vfs2.provider.AbstractFileName