01: /**
02: * $RCSfile: VAProperties.java,v $
03: * @creation 26/01/99
04: * @modification $Date: 2005/03/06 23:04:18 $
05: */package com.memoire.vainstall;
06:
07: import java.io.File;
08: import java.io.FileInputStream;
09: import java.io.IOException;
10: import java.util.Properties;
11:
12: /**
13: * @version $Id: VAProperties.java,v 1.2 2005/03/06 23:04:18 deniger Exp $
14: * @author Axel von Arnim
15: */
16:
17: public class VAProperties extends Properties {
18: public static final VAProperties PROPERTIES = new VAProperties();
19:
20: protected VAProperties() {
21: super ();
22: }
23:
24: void loadProperties(File file) throws IOException {
25: FileInputStream stream = new FileInputStream(file);
26: load(stream);
27: stream.close();
28: }
29: }
|