Package com.aelitis.azureus.core.vuzefile

Examples of com.aelitis.azureus.core.vuzefile.VuzeFile


  public static void
  main(
    String[]  args )
  {
    try{
      VuzeFile vf = VuzeFileHandler.getSingleton().create();
     
      Map  content = new HashMap();
     
      List  commands = new ArrayList();
     
      content.put( "commands", commands );
     
        // home tab
     
      Map  command1 = new HashMap();
     
      commands.add( command1 );
     
      List  l_args1 = new ArrayList();
     
      //l_args1.add( SkinConstants.VIEWID_HOME_TAB  );
     
      command1.put( "type", new Long( COMMAND_SWITCH_TO_TAB ));
      command1.put( "args", l_args1 );

        // activity tab
     
      Map  command2 = new HashMap();
     
      commands.add( command2 );
     
      List  l_args2 = new ArrayList();
     
      //l_args2.add( SkinConstants.VIEWID_ACTIVITY_TAB );
     
      command2.put( "type", new Long( COMMAND_SWITCH_TO_TAB ));
      command2.put( "args", l_args2 );
     
        // check plugin available
     
      Map  command3 = new HashMap();
     
      commands.add( command3 );
     
      List  l_args3 = new ArrayList();
     
      command3.put( "type", new Long( COMMAND_CONDITION_CHECK ));
      command3.put( "args", l_args3 );
     
      vf.addComponent( VuzeFileComponent.COMP_TYPE_V3_NAVIGATION, content );
     
      vf.write( new File( "C:\\temp\\v3ui.vuze" ));
     
    }catch( Throwable e ){
     
      e.printStackTrace();
    }
View Full Code Here


             
              path += ".vuze";
            }
           
            try{
              VuzeFile vf = device.getVuzeFile();
             
              vf.write( new File( path ));
             
            }catch( Throwable e ){
             
              Debug.out( e );
            }
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.core.vuzefile.VuzeFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.