Examples of load()


Examples of org.maltparserx.core.symbol.SymbolTable.load()

        bin.reset();
      }
      while ((fileLine = bin.readLine()) != null) {
        if (fileLine.length() > 0) {
          table = addSymbolTable(fileLine);
          table.load(bin);
        }
      }
      bin.close();
    } catch (IOException e) {
      throw new SymbolException("Could not load the symbol tables. ", e);
View Full Code Here

Examples of org.mibew.notifier.Options.JOptions.load()

  public static void main(String[] args) {
        Display display = new Display();
        Shell shell = new Shell(display);

        Options options = new JOptions(shell, args);
    if (!options.load()) {
      return;
    }

    MibewTray tray = new MibewTray();
    MibewAgent agent = new MibewAgent(options.getAgentOptions(), tray);
View Full Code Here

Examples of org.mindswap.pellet.KBLoader.load()

      case Parse:
        loader.parse( FileUtils.getFileURIsFromRegex( files ).toArray( new String[0] ) );
        break;

      case Load:
        loader.load();
        ProfileUtils.printCounts( kb );
        break;

      case Consistency:
        kb.isConsistent();
View Full Code Here

Examples of org.moparscape.msc.gs.model.Player.load()

      } else if (clientVersion < Config.SERVER_VERSION) {
        loginCode = 4;
      } else if (!player.setSessionKeys(sessionKeys)) {
        loginCode = 5;
      } else {
        player.load(username, password, 0, reconnecting);
        if (clientVersion < Config.SERVER_VERSION) {
          player.clientWarn(true);
        }
        return;
      }
View Full Code Here

Examples of org.more.util.map.Properties.load()

    /**读取一个属性文件,并且以{@link Map}接口的形式返回。*/
    public static Map<String, String> getPropertys(final String resourcePath) throws IOException {
        Properties prop = new Properties();
        InputStream in = ResourcesUtils.getResourceAsStream(ResourcesUtils.formatResource(resourcePath));
        if (in != null) {
            prop.load(in);
        }
        return prop;
    }
    /**获取classpath中可能存在的资源。*/
    public static URL getResource(String resourcePath) throws IOException {
View Full Code Here

Examples of org.mule.util.OrderedProperties.load()

                logger.debug("Reading bootstrap properties from: " + propertiesResource.toString());
            }
            Properties properties = new OrderedProperties();
            try
            {
                properties.load(propertiesResource.openStream());
            }
            catch (IOException e)
            {
                throw new BootstrapException(MessageFactory.createStaticMessage("Could not load properties from: %s", propertiesResource.toString()), e);
            }
View Full Code Here

Examples of org.netbeans.gradle.project.persistent.PropertiesPersister.load()

        final CachedProperties result = new CachedProperties(new MemProjectProperties());
        final PropertiesPersister persister = new XmlPropertiesPersister(propertiesFile);
        PropertiesPersister.PERSISTER_PROCESSOR.execute(Cancellation.UNCANCELABLE_TOKEN, new CancelableTask() {
                @Override
                public void execute(CancellationToken cancelToken) {
                persister.load(result, false, new Runnable() {
                    @Override
                    public void run() {
                        try {
                            result.signalPropertiesLoaded();
                        } finally {
View Full Code Here

Examples of org.netbeans.gradle.project.persistent.XmlPropertiesPersister.load()

        final CachedProperties result = new CachedProperties(new MemProjectProperties());
        final PropertiesPersister persister = new XmlPropertiesPersister(propertiesFile);
        PropertiesPersister.PERSISTER_PROCESSOR.execute(Cancellation.UNCANCELABLE_TOKEN, new CancelableTask() {
                @Override
                public void execute(CancellationToken cancelToken) {
                persister.load(result, false, new Runnable() {
                    @Override
                    public void run() {
                        try {
                            result.signalPropertiesLoaded();
                        } finally {
View Full Code Here

Examples of org.nlogo.api.ClassManager.load()

      if (!theJarContainer.loaded) {
        jarsLoaded++;
        theJarContainer.loaded = true;
        theJarContainer.classManager = classManager;
        theJarContainer.primManager = new ExtensionPrimitiveManager(extName);
        classManager.load(theJarContainer.primManager);
      }

      // Jars that have been removed won't get this flag set
      theJarContainer.live = true;
View Full Code Here

Examples of org.nlogo.window.Widget.load()

      return viewWidget.asWidget();
    } else {
      Widget newGuy = null;
      newGuy = makeWidget(type, true);
      if (newGuy != null) {
        newGuy.load(strings, helper);
        enforceMinimumAndMaximumWidgetSizes(newGuy);
        addWidget(newGuy, x, y, false, true);
      }
      return newGuy;
    }
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.