org.eclipse.core.runtime.internal.adaptor
Class LocationHelper

java.lang.Object
  extended by org.eclipse.core.runtime.internal.adaptor.LocationHelper

public class LocationHelper
extends java.lang.Object

Since:
3.3

Constructor Summary
LocationHelper()
           
 
Method Summary
static java.net.URL buildURL(java.lang.String spec, boolean trailingSlash)
          Builds a URL with the given specification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationHelper

public LocationHelper()
Method Detail

buildURL

public static java.net.URL buildURL(java.lang.String spec,
                                    boolean trailingSlash)
Builds a URL with the given specification

Parameters:
spec - the URL specification
trailingSlash - flag to indicate a trailing slash on the spec
Returns:
a URL


Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.