Class FileNameUtils
- java.lang.Object
-
- com.googlecode.download.maven.plugin.internal.FileNameUtils
-
-
Constructor Summary
Constructors Constructor Description FileNameUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetOutputFileName(URI uri)Attempts to construct the target file name based on an URI as the relative resource name or, if the root resource is requested, the host name extracted from the URI.
-
-
-
Method Detail
-
getOutputFileName
public static String getOutputFileName(URI uri)
Attempts to construct the target file name based on an URI as the relative resource name or, if the root resource is requested, the host name extracted from the URI.- Parameters:
uri- uri to extract the output name from- Returns:
- output file name based on the URI
-
-