My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
HelloWorld  
Hello World with EvaProperties
Phase-Implementation, Featured
Updated Jul 6, 2009 by maximilian.antoni

Quick start

  1. Put the EvaProperties JAR in your build path
  2. Create a file named hello.eva with the following content and package it with your class files:
  3. hello: "Hello World"
  4. Create a Java class:
  5. import java.util.Map;
    import com.eva.properties.MapProperties;
    
    public class HelloWorld {
    
        public static void main(String[] args) {
            Map properties = new MapProperties("classpath://hello.eva");
            System.out.println(properties.get("hello"));
        }
    }

Sign in to add a comment
Powered by Google Project Hosting