Examples of load()


Examples of com.complexible.common.util.EnhancedProperties.load()

   */
  public EmpireConfiguration read(Reader theReader) throws IOException {
    Properties aProps = new EnhancedProperties();

    try {
      aProps.load(theReader);
    }
    catch (Exception e) {
      throw new IOException(e);
    }

View Full Code Here

Examples of com.comprainsumos.modelo.Cotizacion.load()

        try {
            pst = con.prepareStatement("select * from cotizacion where codigo = ?");
            pst.setInt(1, codigo);
            rs = pst.executeQuery();
            while (rs.next()) {
                cotizacion = cotizacion.load(rs);
            }
        } finally {
            if (rs != null) {
                rs.close();
            }
View Full Code Here

Examples of com.dci.intellij.dbn.editor.data.model.DatasetEditorModel.load()

                            editorForm.getEditorTable().cancelEditing();
                            DatasetEditorTable oldEditorTable = instructions.isRebuild() ? editorForm.beforeRebuild() : null;
                            try {
                                DatasetEditorModel tableModel = getTableModel();
                                if (tableModel != null) {
                                    tableModel.load(instructions.isUseCurrentFilter(), instructions.isKeepChanges());
                                    getEditorTable().clearSelection();
                                }
                            } finally {
                                if (!isDisposed()) {
                                    editorForm.afterRebuild(oldEditorTable);
View Full Code Here

Examples of com.dci.intellij.dbn.object.common.list.DBObjectListContainer.load()

            @Override
            public void execute(@NotNull ProgressIndicator progressIndicator) {
                initProgressIndicator(progressIndicator, true);
                if (object.getProperties().is(DBObjectProperty.SCHEMA_OBJECT)) {
                    DBObjectListContainer childObjects = object.getChildObjects();
                    if (childObjects != null) childObjects.load();
                    openSchemaObject((DBSchemaObject) object, progressIndicator, scroll);

                } else if (object.getParentObject().getProperties().is(DBObjectProperty.SCHEMA_OBJECT)) {
                    DBObjectListContainer childObjects = object.getParentObject().getChildObjects();
                    if (childObjects != null) childObjects.load();
View Full Code Here

Examples of com.dci.intellij.dbn.object.common.loader.DBSourceCodeLoader.load()

    public String loadCodeFromDatabase(DBContentType contentType) throws SQLException {
       DBSourceCodeLoader loader =
               contentType == DBContentType.CODE_SPEC ? new SpecSourceCodeLoader(this) :
               contentType == DBContentType.CODE_BODY ? new BodySourceCodeLoader(this) : null;

       return loader == null ? null : loader.load();

    }

    public String getCodeParseRootId(DBContentType contentType) {
        return contentType == DBContentType.CODE_SPEC ? "package_spec" :
View Full Code Here

Examples of com.dianping.cat.broker.api.app.BucketHandler.load()

    handler.save(file);

    datas.clear();

    handler.load(file);
    AppDataQueue<AppData> queue = handler.getAppDataQueue();

    while (true) {
      AppData appdata = queue.poll();
      if (appdata != null) {
View Full Code Here

Examples of com.dotcms.repackage.net.sf.hibernate.Session.load()

    Session session = null;

    try {
      session = openSession();

      PortletPreferencesHBM portletPreferencesHBM = (PortletPreferencesHBM)session.load(PortletPreferencesHBM.class,
          portletPreferencesPK);
      com.liferay.portal.model.PortletPreferences portletPreferences = PortletPreferencesHBMUtil.model(portletPreferencesHBM);
      session.delete(portletPreferencesHBM);
      session.flush();
      PortletPreferencesPool.remove(portletPreferencesPK);
View Full Code Here

Examples of com.dotcms.repackage.org.apache.commons.collections.ExtendedProperties.load()

            {
                // resolve relative path from basedir and leave
                // absolute path untouched.
                File fullPath = project.resolveFile(sources[i]);
                log("Using contextProperties file: " + fullPath);
                source.load(new FileInputStream(fullPath));
            }
            catch (IOException e)
            {
                ClassLoader classLoader = this.getClass().getClassLoader();
View Full Code Here

Examples of com.dotmarketing.db.HibernateUtil.load()

    Class clazz = UtilMethods.getVersionInfoType(type);
    HibernateUtil dh = new HibernateUtil(clazz);
    dh.setQuery("from "+clazz.getName()+" where identifier=?");
    dh.setParam(identifier);
    Logger.debug(BaseWebAssetAPI.class, "getVersionInfo query: "+dh.getQuery());
    auxVersionInfo=(VersionInfo)dh.load();

    if(UtilMethods.isSet(auxVersionInfo) && UtilMethods.isSet(auxVersionInfo.getIdentifier())) {
        clazz = InodeUtils.getClassByDBType(type);
        dh = new HibernateUtil(clazz);
      dh.setQuery("from inode in class " + clazz.getName() + " where inode.identifier = ? and inode.type='"+type+"' order by mod_date desc");
View Full Code Here

Examples of com.eclipsesource.jshint.JSHint.load()

    JSHint jshint = new JSHint();
    try {
      InputStream inputStream = getCustomLib();
      if( inputStream != null ) {
        try {
          jshint.load( inputStream );
        } finally {
          inputStream.close();
        }
      } else {
        jshint.load();
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.