@API(type=EXTENDABLE,
src=PUBLIC)
public interface RelativeReferenceResolver
Modifier and Type | Method and Description |
---|---|
java.lang.String |
makeRelative(java.net.URL baseURL,
java.net.URL childURL)
Makes a relative path expressed to the base file from the child.
|
java.lang.String makeRelative(java.net.URL baseURL, java.net.URL childURL)
Example of the default implementation: Base: "file://c:/projects/exml/base.prx", Child "file://c:/projects/exml/test/someTest.xml"
Result: "test/someTest.xml"baseURL
- the base URL to report at. Cannot be nullchildURL
- the child URL. Cannot be null.null
to use the default implementation.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.