Method names of FileObject#getFullName() and FileObject#getShorName does not 
use standard nomenclature 
-------------------------------------------------------------------------------------------------------

                 Key: FTPSERVER-182
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-182
             Project: FtpServer
          Issue Type: Bug
            Reporter: Andrea Francia


I don't know that this issue could be solved, due the fact that is part of the 
API and there is some people already using the library.

    /**
     * Get the fully qualified name.
     */
    String getFullName();

    /**
     * Get the file short name.
     */
    String getShortName();


The terms "full name" or "short name" are not used in none standard library 
that I know.

For the former the terms used are "path", "absolute path", "full path"
See 
 - http://java.sun.com/javase/6/docs/api/java/io/File.html#getAbsolutePath()
 - http://en.wikipedia.org/wiki/Pathname

For the latter the used are "basename" or "name". The term shorname recall the 
short name of the vfat file system.

Usually "fully qualified names" terminology is not used in about file paths.

I propose:

    /**
     * Get the full path from the base directory of the FileSystemView.
     * @return a path where the path separator is '/' (even if O.S. uses 
another character as path separator).
     */
    String getFullPath();

    /**
     * Get the file name (basename) of the file
     * @return the last part of the file path (the part after the last '/').
     */
    String getName();


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to