|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.util.UrlPathTokenizer
public class UrlPathTokenizer
Parses URIs string into tokens and returns reolved URLs as array.
; and : are used as separators. This class is simlar to Ant's PathTokenizer but has 2 important differences:
| Constructor Summary | |
|---|---|
UrlPathTokenizer(java.net.URL baseURL)
|
|
| Method Summary | |
|---|---|
java.net.URL[] |
split(java.lang.String urls)
Splits a string with set of URIs into array of URLs resolved relatively to baseURL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlPathTokenizer(java.net.URL baseURL)
| Method Detail |
|---|
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 URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||