On Sunday 01 February 2004 00:34, Egon Willighagen wrote:
> Alternatively, we could do:
>
> dadml://nist/cas/50-00-0
>
> where the syntax is as follows:
>
> PROTOCOL://SERVICE[/INDEXTYPE]/INDEX
>
> where the index type is optional...
>
> think of it as a kind of subdirectory in HTTP or FTP URL's...

Even better:

dadml://nist/cas?50-00-0

This would allow things in Java like:

URI uri = new URI("dadml://nist/cas?50-00-0")
String protocol = uri.getScheme();
String service = uri.getAuthority();
String index = uri.getPath();
String query = uri.getQuery();

Egon



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to