Here you can find the source of getWebDocInfoStr(String urlPath)
Parameter | Description |
---|---|
urlPath | a parameter |
private static String getWebDocInfoStr(String urlPath)
//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(); } }