class FolderPath {

    public String getName() {
        String folderName;
        if (path.length > 0) {
            folderName = path[path.length - 1];
        } else {
            folderName = EMPTY;
        }
        return folderName;
    }

    public  FolderPath(String... path);
    public  FolderPath(FolderPath parent, String... path);

}