[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JarEntry as VFS root does not return empty vfspath

scott.stark@jboss.org do-not-reply at jboss.com
Wed Mar 19 10:57:53 EDT 2008


Currently the name is "" for the root is the contract. Make the difference between the name and vfs path context name explicit to document the different, JBVFS-19 


  |    /**
  |     * Get the simple VF name (X.java)
  |     *
  |     * @return the simple, non-empty file name of the VF
  |     */
  |    String getName();
  | 
  |    /**
  |     * Get the simple VF context name (X.java). This is the name portion of the VF in the pathName.
  |     *
  |     * @return the path context name for the VFS relative path name. This will be empty for root VFs.
  |     */
  |    String getContextName();
  | 
  |    /**
  |     * Get the VFS relative path name (org/jboss/X.java)
  |     *
  |     * @return the VFS relative path name. This will be empty for root VFs.
  |     */
  |    String getPathName(); 
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137797#4137797

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137797



More information about the jboss-dev-forums mailing list