Java ClassLoader Load getLog4jPropertiesLocation()

Here you can find the source of getLog4jPropertiesLocation()

Description

get Logj Properties Location

License

Open Source License

Declaration

public static URL getLog4jPropertiesLocation() 

Method Source Code

//package com.java2s;
/*//w ww.ja v  a  2s.  c  om
 * Copyright (C) 2011 Saarland University
 * 
 * This file is part of Javalanche.
 * 
 * Javalanche is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Javalanche is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser Public License
 * along with Javalanche.  If not, see <http://www.gnu.org/licenses/>.
 */

import java.net.URL;

public class Main {
    private static final String LOG4J_PROPERTIES = "log4j.properties";

    public static URL getLog4jPropertiesLocation() {
        URL systemResource = ClassLoader
                .getSystemResource(LOG4J_PROPERTIES);
        return systemResource;
    }
}

Related

  1. getFullPathByPkg(String pkg)
  2. getImageFilename(String name)
  3. getInputStream(String name)
  4. getLibKoyaVersion()
  5. getLocalFile(final String aLocalPath)
  6. getManifestInfo()
  7. getMetadataSpecialSymbolsXml()
  8. getPath(final String fileName)
  9. getPath(String resoureLocation)