Package: java.util.* |
Product: JDK |
Release: 1.1.x |
Related Links: |
Calendar
EventObject
Hashtable
Locale
Properties
PropertyResourceBundle
TimeZone
|
Comment: |
// load havens if (havens == null) { try { havens = new java.util.PropertyResourceBundle(new java.io.FileInputStream("havens.props")); } catch (java.io.FileNotFoundException fnf) { dbg("Filename not found: " + fnf.getMessage()); } catch (java.io.IOException ioe) { dbg("IOError: " + ioe.getMessage()); } }The file havens.props contains:s0=[geen] s1=Noordoever s2=0100-0399 s3=0400-0699 s4=0700-0999 s5=-------------------- s6=Zuidoever s7=1000-1299 s8=1300-1599 s9=1600-1899 s10=1900-2199 s11=2200-2499 s12=2500-2799 s13=2800-3099 s14=3100-3399 s15=3400-3699 s16=3700-3999 s17=4000-4299 s18=4300-4599 s19=4600-4899 s20=4900-5199 s21=5200-5499 s22=5500-5799 s23=5800-6099 s24=6100-6399 s25=6400-6699 s26=6700-6999 s27=7000-7299 s28=7300-7599 s29=7600-7899 s30=7900-8199 s31=8200-8499 |