Examples of load()


Examples of ru.tehkode.permissions.backends.caching.CachingGroupData.load()

  @Override
  public PermissionsGroupData getGroupData(String groupName) {
    synchronized (lock) {
      final CachingGroupData data = new CachingGroupData(new FileData("groups", groupName, this.permissions, "inheritance"), getExecutor(), lock);
      data.load();
      return data;
    }
  }

  @Override
View Full Code Here

Examples of ru.tehkode.permissions.backends.caching.CachingUserData.load()

  @Override
  public PermissionsUserData getUserData(String userName) {
    synchronized (lock) {
      final CachingUserData data = new CachingUserData(new FileData("users", userName, this.permissions, "group"), getExecutor(), lock);
      data.load();
      return data;
    }
  }

  @Override
View Full Code Here

Examples of se.llbit.chunky.launcher.LauncherSettings.load()

      }
    });

    JCheckBox showLauncher = new JCheckBox("Show launcher when starting Chunky");
    LauncherSettings settings = new LauncherSettings();
    settings.load();
    showLauncher.setSelected(settings.showLauncher);
    showLauncher.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        JCheckBox source = (JCheckBox) e.getSource();
View Full Code Here

Examples of se.llbit.chunky.resources.texturepack.TextureRef.load()

    ZipFile texturePack = null;
    try {
      texturePack = new ZipFile(tpFile);
      for (String id: toLoad) {
        TextureRef tex = allTextures.get(id);
        if (tex.load(texturePack)) {
          notLoaded.remove(id);
        }
      }

      // fall back on terrain.png
View Full Code Here

Examples of shen.Shen.Compiler.load()

            //noinspection RedundantCast
            File compilePath = new File((String) intern("*compile-path*").value());
            File classFile = new File(compilePath, file + ".class");
            if (!(compilePath.mkdirs() || compilePath.isDirectory())) throw new IOException("could not make directory: " + compilePath);
            try {
                return compiler.load(classFile.getName().replaceAll(".class$", ".kl"), aClass);
            } finally {
                lines.clear();
                if (compiler.bytes != null)
                    try (OutputStream out = new FileOutputStream(classFile)) {
                        out.write(compiler.bytes);
View Full Code Here

Examples of simple.http.load.MapperEngine.load()

      if (mSimplewebConnection == null) {
        try {
          FileContext context = new FileContext(new File("web"));
          MapperEngine engine = new MapperEngine(context);
         
          engine.load("SharedTagService", SharedTagService.class.getName());
          engine.link("*", "SharedTagService");
         
          ProtocolHandler handler = HandlerFactory.getInstance(engine);
         
          mSimplewebConnection = ConnectionFactory.getConnection(handler);
View Full Code Here

Examples of simpleserver.config.LegacyChestList.load()

    }
  }

  private void loadOldConfig() {
    LegacyChestList old = new LegacyChestList();
    old.load();
    for (Coordinate coord : old.locations.keySet()) {
      simpleserver.config.LegacyChestList.Chest chest = old.locations.get(coord);
      if (chest.isOpen()) {
        locations.put(coord, new Chest(coord));
      } else if (chest.name().equals("Locked chest") || chest.name().length() == 0) {
View Full Code Here

Examples of simpleserver.config.LegacyStats.load()

    BLOCKS_PLACED;
  }

  public void loadOldConfig() {
    LegacyStats old = new LegacyStats();
    old.load();
    for (String name : old.stats.keySet()) {
      Statistic oldStats = old.stats.get(name);
      NBTCompound tag = playerData.get(name);
      NBTCompound stats = new NBTCompound(STATS);
      stats.put(new NBTInt(StatField.PLAY_TIME.toString(), oldStats.minutes));
View Full Code Here

Examples of sos.net.SOSMailOrder.load()

            // set queue prefix "sos" to enalbe dequeueing by JobSchedulerMailDequeueJob
            mailOrder.setQueuePraefix(this.getQueuePrefix());
           
            // classic or order driven
            if (spooler_task.job().order_queue() == null) {                               
                mailOrder.load(mailOrderId);
                rc = this.mailOrderIterator.hasNext();
               
            } else {
                order = spooler_task.order();
                orderData = (Variable_set) spooler_task.order().payload();
View Full Code Here

Examples of src.Store.load()

    FS.dump(TestConf.tmpPath + "/root/node1.data", "version:0\r\ni'am node1");
    FS.dump(TestConf.tmpPath + "/root/node2.data", "version:0\r\ni'am node2");
    FS.dump(TestConf.tmpPath + "/root/node2/node3.data", "version:0\r\ni'am node3");
   
    Store s = new Store(TestConf.host, TestConf.root, "", "", TestConf.tmpPath);
    s.load(TestConf.tmpPath + "/root", "/root");
   
    Assert.assertEquals("i'am node1", s.get("/root/node1"));
    Assert.assertEquals("i'am node2", s.get("/root/node2"));
    Assert.assertEquals("i'am node3", s.get("/root/node2/node3"));
   
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.