Return to Snippet

Revision: 2141
at January 4, 2007 03:36 by springett


Initial Code
Properties properties = new Properties(); 
try 
{ 
    properties.load(new FileInputStream("filename.properties")); 
} 
catch (IOException e) 
{ 
    // implement catch logic
}

Initial URL
http://www.exampledepot.com/egs/java.util/Props.html

Initial Description
reading in a properties file from the file system

Initial Title
Reading a Properties File

Initial Tags
java

Initial Language
Java