The Java Developers Almanac 1.4


Order this book from Amazon.

   
Home > List of Packages > java.util  [50 examples] > Property Files  [2 examples]

e366. Getting and Setting Properties

    String string = properties.getProperty("a.b");
    properties.setProperty("a.b", "new value");

 Related Examples
e365. Reading and Writing a Properties File

See also: Arrays    Bits    Collections    Dates    Hash Tables    Lists    Sets    Sorted Collections    Time    Timers   


© 2002 Addison-Wesley.