public class UrlPathTokenizer
extends java.lang.Object
; and : are used as separators. This class is simlar to Ant's PathTokenizer but has 2 important differences:
Constructor and Description |
---|
UrlPathTokenizer(java.net.URL baseURL) |
Modifier and Type | Method and Description |
---|---|
java.net.URL[] |
split(java.lang.String urls)
Splits a string with set of URIs into array of URLs resolved relatively to baseURL.
|
public java.net.URL[] split(java.lang.String urls) throws java.net.MalformedURLException
urls
- not null string with ; or : separated URIs.java.net.MalformedURLException
- if urls contain a malformed URI or URLCopyright © Copyright 2006-2019 The Scriptella Project Team.