001    /**
002     * Copyright (c) 2000-2010 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 boolean contains(java.lang.String key) {
030                    return PropsUtil.contains(key);
031            }
032    
033            public java.lang.String get(java.lang.String key) {
034                    return PropsUtil.get(key);
035            }
036    
037            public java.lang.String get(java.lang.String key,
038                    com.liferay.portal.kernel.configuration.Filter filter) {
039                    return PropsUtil.get(key, filter);
040            }
041    
042            public java.lang.String[] getArray(java.lang.String key) {
043                    return PropsUtil.getArray(key);
044            }
045    
046            public java.lang.String[] getArray(java.lang.String key,
047                    com.liferay.portal.kernel.configuration.Filter filter) {
048                    return PropsUtil.getArray(key, filter);
049            }
050    
051            public java.util.Properties getProperties() {
052                    return PropsUtil.getProperties();
053            }
054    
055            public java.util.Properties getProperties(java.lang.String prefix,
056                    boolean removePrefix) {
057                    return PropsUtil.getProperties(prefix, removePrefix);
058            }
059    
060            public void removeProperties(java.util.Properties properties) {
061                    PropsUtil.removeProperties(properties);
062            }
063    
064            public void set(java.lang.String key, java.lang.String value) {
065                    PropsUtil.set(key, value);
066            }
067    
068            private PropsUtil_IW() {
069            }
070    
071            private static PropsUtil_IW _instance = new PropsUtil_IW();
072    }