Examples of load()


Examples of org.teavm.eclipse.TeaVMProjectSettings.load()

        TeaVMProjectSettings settings = teaVMPlugin.getSettings(project);
        try {
            if (!hasNature) {
                teaVMPlugin.addNature(new SubProgressMonitor(monitor, 1000), project);
            }
            settings.load();
            Set<String> coveredProfiles = new HashSet<>();
            for (MojoExecution execution : executions) {
                if (monitor.isCanceled()) {
                    return;
                }
View Full Code Here

Examples of org.terasology.logic.behavior.asset.BehaviorTreeLoader.load()

        BehaviorTreeLoader loader = new BehaviorTreeLoader();
        ByteArrayOutputStream os = new ByteArrayOutputStream(10000);

        try {
            loader.save(os, data);
            BehaviorTreeData copy = loader.load(null, new ByteArrayInputStream(os.toByteArray()), null, Collections.<URL>emptyList());
            Port.OutputPort parent = node.getInputPort().getTargetPort();
            copy.createRenderable();
            RenderableNode copyRenderable = copy.getRenderableNode(copy.getRoot());
            addNode(copyRenderable);
            RenderableNode nodeToLayout;
View Full Code Here

Examples of org.terasology.module.ModuleLoader.load()

                    Files.copy(tempModuleLocation, finalPath);
                    ModuleLoader loader = new ModuleLoader(moduleManager.getModuleMetadataReader());
                    loader.setModuleInfoPath(TerasologyConstants.MODULE_INFO_FILENAME);

                    moduleManager.getRegistry().add(loader.load(finalPath));
                    receivingModule = null;

                    if (missingModules.isEmpty()) {
                        sendJoin();
                    }
View Full Code Here

Examples of org.toubassi.femtozip.models.NativeCompressionModel.load()

    }
   
    protected void loadBenchmarkModel() throws IOException {
        if (useNativeModel) {
            NativeCompressionModel nativeModel = new NativeCompressionModel();
            nativeModel.load(modelPath);
            model = nativeModel;
        }
        else {
            model = CompressionModel.loadModel(modelPath);
        }
View Full Code Here

Examples of org.tubo.resource.consumer.ConsumerManager.load()

        for (Iterator it=consumerManagers.iterator(); it.hasNext();) {
            ConsumerManager consumerManager = (ConsumerManager)it.next();
            try {
                //
                // delegate consumer loading to manager
                consumerManager.load();
            } catch (TuboConsumerException e) {
                //
                // if something go wrong then a exception is throw and execution ends
                throw resourceManager.getExceptionManager().getException(1100,consumerManager.getId(),e);
            }
View Full Code Here

Examples of org.uberfire.java.nio.base.Properties.load()

        checkNotNull( "path", path );
        waitFSUnlock( path );

        final Properties properties = new Properties();
        if ( exists( dot( path ) ) ) {
            properties.load( newInputStream( dot( path ) ) );
        }
        final FileAttribute<?>[] allAttrs = consolidate( properties, attrs );

        final SeekableByteChannel result = Files.newByteChannel( path, buildOptions( options ), allAttrs );
View Full Code Here

Examples of org.vietspider.common.io.DataReader.load()

//    webClient.registryProxy("216.194.70.3", 8118, null, null);
   
    final DataWriter writer = new DataWriter();
    final DataReader reader = new DataReader();
    File file  = new File("F:\\Temp2\\webclient\\proxies.txt") ;
    String textValue  = new String(reader.load(file), "utf-8");
    String [] proxies = textValue.split("\n");
    File newFile  = new File("F:\\Temp2\\webclient\\good.proxies.txt") ;
  
    final File folder = new File("F:\\Temp2\\webclient\\proxy\\");
    deleteFolder(folder);
View Full Code Here

Examples of org.vietspider.common.io.PropertiesFile.load()

  }
 
  public synchronized void load() {
    PropertiesFile file = new PropertiesFile(true);
    try {
      properties = file.load(UtilFile.getFile("client", "config.properties"));
    } catch (Exception e) {
      LogService.getInstance().setThrowable(e);
    }
  }
View Full Code Here

Examples of org.vietspider.ui.services.ImageLoader.load()

    gridLayout.marginWidth = 0;
    popup.setLayout(gridLayout);
   
    add = new ImageHyperlink(popup, SWT.CENTER);
    ImageLoader imageLoader = new ImageLoader();
    addNormal = imageLoader.load(popup.getDisplay(), "add2.png");
    addDown = imageLoader.load(popup.getDisplay(), "add3.png");
    add.setImage(addNormal);
    add.addHyperlinkListener(new HyperlinkAdapter(){
      @SuppressWarnings("unused")
      public void linkEntered(HyperlinkEvent e) {
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCLoader.load()

            @Override
            public CatalogContext getCatalogContext() {
                return (catalogContext);
            }
        };
        loader.load();
    }
       
    public void testTPCC() throws IOException, InterruptedException, ProcCallException {
       
        System.out.println("Starting testTPCC - Physical Recovery");               
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.