![]() |
|||
Configuration.javaGo to the documentation of this file.00001 /* 00002 * Configuration.java 00003 * 00004 * Created on 2 novembre 2003, 15:43 00005 */ 00006 00007 00011 package org.net2map.pov.configuration; 00012 00017 public class Configuration 00018 { 00019 private static Configuration instance = null; 00020 00022 private Configuration() 00023 { 00024 00025 } 00026 00033 public static Configuration getInstance() 00034 { 00035 if (instance == null) 00036 { 00037 synchronized(Configuration.class) 00038 { 00039 if (instance == null) 00040 { 00041 instance = new Configuration(); 00042 } 00043 } 00044 } 00045 return instance; 00046 } 00047 00048 private String indexDirectory= "index"; 00049 public String getIndexDirectory() 00050 { 00051 return(indexDirectory); 00052 } 00053 } |
|||
|
Accueil | Téléchargement | Manuel
| Doc. technique | Sources CVS |
Faq | Nous contacter
©2003 - All Rights Reserved |
|||