Examples of Helper


Examples of ca.simplegames.micro.Helper

        this.options = (Map<String, Object>) configuration.get(Globals.OPTIONS);
        klass = ClassUtilities.loadClass((String) configuration.get("class"));
    }

    public Helper getInstance(MicroContext context) throws Exception {
        Helper helper = (Helper) klass.newInstance();
        helper.register(context, options);
        return helper;
    }
View Full Code Here

Examples of com.cadrlife.jhaml.internal.Helper

  public JHaml() {
    this(new JHamlConfig());
  }
  public JHaml(JHamlConfig config) {
    this.config = config;
    helper = new Helper(config);
  }
View Full Code Here

Examples of de.iritgo.aktera.persist.Helper

    }
  }

  public Helper getHelper() throws PersistenceException
  {
    Helper h = super.getHelper();

    if (h == null)
    {
      return null;
    }

    h.setPersistent(this);

    return h;
  }
View Full Code Here

Examples of de.sub.goobi.helper.Helper

public class WebInterfaceConfig {

  public static List<String> getCredencials(String requestIp, String requestPassword) {
    ArrayList<String> allowed = new ArrayList<String>();
    try {
      XMLConfiguration config = new XMLConfiguration(new Helper().getGoobiConfigDirectory() +"goobi_webapi.xml");
      config.setListDelimiter('&');
      config.setReloadingStrategy(new FileChangedReloadingStrategy());

      int count = config.getMaxIndex("credentials");
      for (int i = 0; i <= count; i++) {
View Full Code Here

Examples of de.sub.goobi.helper.Helper

    logger.trace("config 1");
    List<GoobiHotfolder> answer = new ArrayList<GoobiHotfolder>();
    logger.trace("config 2");

    try {
       XMLConfiguration config = new XMLConfiguration(new Helper().getGoobiConfigDirectory() + "goobi_hotfolder.xml");

      logger.trace("config 3");

      config.setListDelimiter('&');
View Full Code Here

Examples of de.sub.goobi.helper.Helper

    if (mySchritt.getProzess().isIstTemplate()) {
      return properties;
    }

    String path = new Helper().getGoobiConfigDirectory() + "goobi_processProperties.xml";
    XMLConfiguration config;
    try {
      config = new XMLConfiguration(path);
    } catch (ConfigurationException e) {
      logger.error(e);
View Full Code Here

Examples of de.sub.goobi.helper.Helper

        pp.setContainer(pe.getContainer());
        properties.add(pp);
      }
      return properties;
    }
    String path = new Helper().getGoobiConfigDirectory() + "goobi_processProperties.xml";
    XMLConfiguration config;
    try {
      config = new XMLConfiguration(path);
    } catch (ConfigurationException e) {
      logger.error(e);
View Full Code Here

Examples of de.sub.goobi.helper.Helper

 
 
  private void readConfigAsSample() {
    ArrayList<ProcessProperty> properties = new ArrayList<ProcessProperty>();

    String path = new Helper().getGoobiConfigDirectory() + "goobi_processProperties.xml";
    XMLConfiguration config;
    try {
      config = new XMLConfiguration(path);
    } catch (ConfigurationException e) {
      logger.error(e);
View Full Code Here

Examples of de.sub.goobi.helper.Helper

      xmlpath = "anchor.property";
    }

    HashMap<String, String> fields = new HashMap<String, String>();
    try {
      File file = new File(new Helper().getGoobiConfigDirectory() + "goobi_exportXml.xml");
      if (file.exists() && file.canRead()) {
        XMLConfiguration config = new XMLConfiguration(file);
        config.setListDelimiter('&');
        config.setReloadingStrategy(new FileChangedReloadingStrategy());
View Full Code Here

Examples of de.sub.goobi.helper.Helper

  }

  private HashMap<String, String> getNamespacesFromConfig() {
    HashMap<String, String> nss = new HashMap<String, String>();
    try {
      File file = new File(new Helper().getGoobiConfigDirectory() + "goobi_exportXml.xml");
      if (file.exists() && file.canRead()) {
        XMLConfiguration config = new XMLConfiguration(file);
        config.setListDelimiter('&');
        config.setReloadingStrategy(new FileChangedReloadingStrategy());
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.