Package org.arch.config

Examples of org.arch.config.IniProperties


      if (null == auth)
      {
        auth = GAE.servers.select();
      }
      int sid = null == local ? 0 : local.getId();
      IniProperties cfg = SnovaConfiguration.getInstance()
              .getIniProperties();
      HttpRequest request = new DefaultHttpRequest(HttpVersion.HTTP_1_1,
              HttpMethod.POST, "/invoke");
      request.setHeader(HttpHeaders.Names.HOST, auth.appid
              + ".appspot.com");
      request.setHeader(HttpHeaders.Names.CONNECTION, "keep-alive");
      request.setHeader(
              HttpHeaders.Names.USER_AGENT,
              cfg.getProperty("GAE", "UserAgent",
                      "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1"));
      request.setHeader(HttpHeaders.Names.CONTENT_TYPE,
              "application/octet-stream");

      EventHeaderTags tags = new EventHeaderTags();
View Full Code Here


//    assertEquals(1, ret);
   
    String[] splits = "Xyz|as|xfas|wer".split("[,|;|\\|]");
    System.out.println(Arrays.asList(splits));
   
    IniProperties ini = new IniProperties();
    ini.setProperty("Hrlo", "sda", "safas");
    ini.store(new FileOutputStream("test.txt"));
  }
View Full Code Here

TOP

Related Classes of org.arch.config.IniProperties

Copyright © 2018 www.massapicom. 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.