blob: 67e925ee4938d39d1c32143161f6030d85e8c959 [file] [log] [blame]
/***************************************************************************************************
* Copyright (c) 2003, 2005 IBM Corporation and others. All rights reserved. This program and the
* accompanying materials are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors: IBM Corporation - initial API and implementation
**************************************************************************************************/
package org.eclipse.wst.common.environment;
import org.eclipse.wst.common.environment.uri.IURIScheme;
import org.eclipse.wst.common.internal.environment.eclipse.ConsoleEclipseEnvironment;
import org.eclipse.wst.common.internal.environment.eclipse.EclipseLog;
import org.eclipse.wst.common.internal.environment.eclipse.EclipseScheme;
import org.eclipse.wst.common.internal.environment.uri.file.FileScheme;
public class EnvironmentService
{
public static IEnvironment getEclipseConsoleEnvironment()
{
return new ConsoleEclipseEnvironment();
}
public static ILog getEclipseLog()
{
return new EclipseLog();
}
public static IURIScheme getEclipseScheme( IEnvironment environment )
{
return new EclipseScheme( environment );
}
public static IURIScheme getFileScheme()
{
return new FileScheme();
}
}