JRubik v0.6

es.aeat.eett.plugins.mdxMenu_Base
Class TreeFileAdapter

java.lang.Object
  extended byes.aeat.eett.plugins.mdxMenu_Base.TreeFileAdapter

public class TreeFileAdapter
extends java.lang.Object

Author:
f00992

Field Summary
private static java.lang.String BOOKMARK
           
private static java.util.ResourceBundle localizationResources
           
private  java.lang.String rutaMenu
           
 
Constructor Summary
private TreeFileAdapter(java.lang.String ruta)
           
 
Method Summary
private  void addNodosHijos(NodeMenu menuParent, MetaItem metaItem, boolean isMenuMarcador)
           
private  NodeMenu buildNode()
           
private  NodeMenu buildNodeBookMark()
           
private  java.io.File createFileBookMarkUser(java.lang.String ruta)
          Comprueba si eixite el directorio del usuario en marcadores en caso de no existir lo crea
static NodeMenu createNode(java.lang.String ruta)
           
static NodeMenu createNodeBookMark(java.lang.String ruta)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localizationResources

private static java.util.ResourceBundle localizationResources

BOOKMARK

private static final java.lang.String BOOKMARK

rutaMenu

private java.lang.String rutaMenu
Constructor Detail

TreeFileAdapter

private TreeFileAdapter(java.lang.String ruta)
Method Detail

createNode

public static NodeMenu createNode(java.lang.String ruta)
                           throws java.lang.Exception
Throws:
java.lang.Exception

createNodeBookMark

public static NodeMenu createNodeBookMark(java.lang.String ruta)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

buildNode

private NodeMenu buildNode()
                    throws java.lang.Exception
Throws:
java.lang.Exception

buildNodeBookMark

private NodeMenu buildNodeBookMark()
                            throws java.lang.Exception
Throws:
java.lang.Exception

createFileBookMarkUser

private java.io.File createFileBookMarkUser(java.lang.String ruta)
Comprueba si eixite el directorio del usuario en marcadores en caso de no existir lo crea

Parameters:
ruta - del directorio de marcadores
Returns:
File

addNodosHijos

private void addNodosHijos(NodeMenu menuParent,
                           MetaItem metaItem,
                           boolean isMenuMarcador)
                    throws java.lang.Exception
Throws:
java.lang.Exception

JRubik v0.6

JRubik v0.6