|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UtilAccess
Provides access to utility methods.
*********************************
EXPERIMENTAL - Subject to change
*********************************
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Method Summary | |
---|---|
String |
correctURL(String url)
Corrects the given URL by converting not allowed characters to their escaped representation. |
File |
locateFile(URL url)
Locate the file on disk corresponding to the URL. |
String |
makeRelative(URL baseURL,
URL childURL)
Make the child URL relative to the base URL. |
Method Detail |
---|
String makeRelative(URL baseURL, URL childURL)
The child URL is relatively expressed to the base URL. If it is not possible, the child URL is returned.
For example if the base URL is "file://c:/projects/exml/base.prx" and the child URL is "file://c:/projects/exml/test/someTest.xml" the result will be: "test/someTest.xml"
baseURL
- The base URL.childURL
- The child URL.
childURL
if a relative path cannot be computed.String correctURL(String url)
url
- The URL to be corrected.
null
.File locateFile(URL url)
url
- The URL
to be checked.
File
from the local file system
or null
if the URL is remote.
|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |