1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.util;
16  
17  /**
18   * <a href="PropsUtil_IW.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public class PropsUtil_IW {
23      public static PropsUtil_IW getInstance() {
24          return _instance;
25      }
26  
27      public void addProperties(java.util.Properties properties) {
28          PropsUtil.addProperties(properties);
29      }
30  
31      public boolean contains(java.lang.String key) {
32          return PropsUtil.contains(key);
33      }
34  
35      public java.lang.String get(java.lang.String key) {
36          return PropsUtil.get(key);
37      }
38  
39      public java.lang.String get(java.lang.String key,
40          com.liferay.portal.kernel.configuration.Filter filter) {
41          return PropsUtil.get(key, filter);
42      }
43  
44      public java.lang.String[] getArray(java.lang.String key) {
45          return PropsUtil.getArray(key);
46      }
47  
48      public java.lang.String[] getArray(java.lang.String key,
49          com.liferay.portal.kernel.configuration.Filter filter) {
50          return PropsUtil.getArray(key, filter);
51      }
52  
53      public java.util.Properties getProperties() {
54          return PropsUtil.getProperties();
55      }
56  
57      public java.util.Properties getProperties(java.lang.String prefix,
58          boolean removePrefix) {
59          return PropsUtil.getProperties(prefix, removePrefix);
60      }
61  
62      public void removeProperties(java.util.Properties properties) {
63          PropsUtil.removeProperties(properties);
64      }
65  
66      public void set(java.lang.String key, java.lang.String value) {
67          PropsUtil.set(key, value);
68      }
69  
70      private PropsUtil_IW() {
71      }
72  
73      private static PropsUtil_IW _instance = new PropsUtil_IW();
74  }