001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.util;
016    
017    /**
018     * @author Brian Wing Shun Chan
019     */
020    public class PropsUtil_IW {
021            public static PropsUtil_IW getInstance() {
022                    return _instance;
023            }
024    
025            public void addProperties(java.util.Properties properties) {
026                    PropsUtil.addProperties(properties);
027            }
028    
029            public void addProperties(
030                    com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties) {
031                    PropsUtil.addProperties(unicodeProperties);
032            }
033    
034            public boolean contains(java.lang.String key) {
035                    return PropsUtil.contains(key);
036            }
037    
038            public java.lang.String get(java.lang.String key) {
039                    return PropsUtil.get(key);
040            }
041    
042            public java.lang.String get(java.lang.String key,
043                    com.liferay.portal.kernel.configuration.Filter filter) {
044                    return PropsUtil.get(key, filter);
045            }
046    
047            public java.lang.String[] getArray(java.lang.String key) {
048                    return PropsUtil.getArray(key);
049            }
050    
051            public java.lang.String[] getArray(java.lang.String key,
052                    com.liferay.portal.kernel.configuration.Filter filter) {
053                    return PropsUtil.getArray(key, filter);
054            }
055    
056            public java.util.Properties getProperties() {
057                    return PropsUtil.getProperties();
058            }
059    
060            public java.util.Properties getProperties(java.lang.String prefix,
061                    boolean removePrefix) {
062                    return PropsUtil.getProperties(prefix, removePrefix);
063            }
064    
065            public void reload() {
066                    PropsUtil.reload();
067            }
068    
069            public void removeProperties(java.util.Properties properties) {
070                    PropsUtil.removeProperties(properties);
071            }
072    
073            public void set(java.lang.String key, java.lang.String value) {
074                    PropsUtil.set(key, value);
075            }
076    
077            private PropsUtil_IW() {
078            }
079    
080            private static PropsUtil_IW _instance = new PropsUtil_IW();
081    }