Examples of load()


Examples of com.sun.org.apache.commons.modeler.modules.MbeansSource.load()

            File mbeansF=new File( mbeansFile );
            mbeansMB.setSource(mbeansF);
           
            Registry.getRegistry().registerComponent(mbeansMB,
                    domain + ":type=MbeansFile", null);
            mbeansMB.load();
            mbeansMB.init();
            mbeansMB.setRegistry(Registry.getRegistry());
            mbeans=mbeansMB.getMBeans();
           
        } catch( Throwable t ) {
View Full Code Here

Examples of com.sun.speech.freetts.lexicon.LexiconImpl.load()

                             new URL(path + "_compiled.txt"),
                             new URL(path + "_addenda.txt"),
                             new URL(path + "_lts.txt"),
                             false);
       BulkTimer.LOAD.start("load_text");
                         lex.load();
       BulkTimer.LOAD.stop("load_text");

       System.out.println("Dumping " + baseName);
       BulkTimer.LOAD.start("dump_text");
       lex.dumpBinary(destPath + "/" + baseName);
View Full Code Here

Examples of com.sun.star.form.XLoadable.load()

                            new ifc.form._XUpdateBroadcaster.UpdateChecker() {
            private String lastText = "";

            public void update() throws com.sun.star.uno.Exception {
                if (!formLoaderF.isLoaded()) {
                    formLoaderF.load();
                }

                lastText = "_" + ps.getPropertyValue("Text");
                ps.setPropertyValue("Text", lastText);
            }
View Full Code Here

Examples of com.sun.star.frame.XLoadable.load()

        databaseDoc = (XModel) UnoRuntime.queryInterface(XModel.class,
                getORB().createInstance("com.sun.star.sdb.OfficeDatabaseDocument"));
        documentURL = copyToTempFile(documentURL);
        // load the doc, and verify it's initialized then, and has the proper URL
        XLoadable loadDoc = (XLoadable) UnoRuntime.queryInterface(XLoadable.class, databaseDoc);
        loadDoc.load(new PropertyValue[]
                {
                    new PropertyValue("URL", 0, documentURL, PropertyState.DIRECT_VALUE)
                });
        databaseDoc.attachResource(documentURL, new PropertyValue[0]);
View Full Code Here

Examples of com.sun.star.frame.XSynchronousFrameLoader.load()

      try {
        setModified(false);
      } catch (java.lang.IllegalStateException exp) {
      }
      // Load the document.
      if (frameLoader.load(desc, mFrame) == false) {
        throw new java.io.IOException(
          "Can not load a document: \"" + url + "\"");
      }
      mDocumentURL  = url;
      // Get document's XModifiable interface if any.
View Full Code Here

Examples of com.taobao.top.analysis.config.MasterConfig.load()

    masterNode.setJobManager(jobManager);
    masterNode.setMasterConnector(masterConnector)
    masterNode.setMonitor(monitor);
   
    MasterConfig config = new MasterConfig();
    config.load(configfile);
    masterNode.setConfig(config);
    masterNode.startNode();
   
   
    return masterNode;
View Full Code Here

Examples of com.taobao.top.analysis.config.SlaveConfig.load()

    slaveConnector.setDownstreamHandler(new ObjectEncoder());
    slaveConnector.setUpstreamHandler(new ObjectDecoder());
     
    StatisticsEngine statisticsEngine = new StatisticsEngine();
    SlaveConfig slaveConfig = new SlaveConfig();
    slaveConfig.load(configfile);
    slaveNode.setConfig(slaveConfig);
    slaveNode.setSlaveConnector(slaveConnector);
    slaveNode.setStatisticsEngine(statisticsEngine);
    slaveNode.setJobResultMerger(jobResultMerger2);
    slaveNode.setMonitor(monitor);
View Full Code Here

Examples of com.thaiopensource.relaxng.input.InputFormat.load()

 
  public static void generateXSDFromDTD(File input, File output) throws Exception {
    ErrorHandlerImpl eh = new ErrorHandlerImpl();
    OutputFormat of = new XsdOutputFormat();
    InputFormat inFormat = new DtdInputFormat();
    SchemaCollection sc = inFormat.load(
        UriOrFile.toUri(input.getAbsolutePath()), new String[0], "xsd", eh);
   
    OutputDirectory od = new LocalOutputDirectory(
        sc.getMainUri(),output,"xml","utf-8",80,4);
   
View Full Code Here

Examples of com.thaiopensource.relaxng.input.dtd.DtdInputFormat.load()

 
  public static void generateXSDFromDTD(File input, File output) throws Exception {
    ErrorHandlerImpl eh = new ErrorHandlerImpl();
    OutputFormat of = new XsdOutputFormat();
    InputFormat inFormat = new DtdInputFormat();
    SchemaCollection sc = inFormat.load(
        UriOrFile.toUri(input.getAbsolutePath()), new String[0], "xsd", eh);
   
    OutputDirectory od = new LocalOutputDirectory(
        sc.getMainUri(),output,"xml","utf-8",80,4);
   
View Full Code Here

Examples of com.thaiopensource.relaxng.input.xml.XmlInputFormat.load()

   */
  public static void generateDTDFromXML(File input,File output) throws Exception {
    ErrorHandlerImpl eh = new ErrorHandlerImpl();
    OutputFormat of = new DtdOutputFormat();
    InputFormat inFormat = new XmlInputFormat();
    SchemaCollection sc = inFormat.load(
        UriOrFile.toUri(input.getAbsolutePath()), new String[0], "dtd", eh);
   
    OutputDirectory od = new LocalOutputDirectory(
        sc.getMainUri(),output,"xml","utf-8",80,4);
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.