Java Path to URL getWebDocInfoStr(String urlPath)

Here you can find the source of getWebDocInfoStr(String urlPath)

Description

Gets the document info string

License

Open Source License

Parameter

Parameter Description
urlPath a parameter

Return

document info string

Declaration

private static String getWebDocInfoStr(String urlPath) 

Method Source Code

//package com.java2s;
/* uDig - User Friendly Desktop Internet GIS client
 * http://udig.refractions.net/* ww w .j  a v  a 2  s.c om*/
 * (C) 2012, Refractions Research Inc.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * (http://www.eclipse.org/legal/epl-v10.html), and the Refractions BSD
 * License v1.0 (http://udig.refractions.net/files/bsd3-v10.html).
 */

import java.net.URL;

public class Main {
    /**
     * Gets the document info string
     * 
     * @param urlPath
     * @return document info string
     */
    private static String getWebDocInfoStr(String urlPath) {
        return urlPath;
    }

    /**
     * Gets the document info string
     * 
     * @param url
     * @return document info string
     */
    private static String getWebDocInfoStr(URL url) {
        return url.toString();
    }
}

Related

  1. getURLPathFromURI(String uri)
  2. getURLPathFromURN(String urn)
  3. getURLs(List paths)
  4. getURLs(String thePaths[])
  5. getUrlsFromClassPath(String path)
  6. getWorkspaceURL(String subpath)
  7. pathAsUrlString(String path)
  8. pathFromURL(final URL url)
  9. pathsMatch(URL realm, URL returnTo)