uk.ac.starlink.astrogrid.protocols.ivo
Class Handler
java.lang.Object
java.net.URLStreamHandler
uk.ac.starlink.astrogrid.protocols.ivo.Handler
public class Handler
- extends URLStreamHandler
Protocol handler for "ivo:
" type URLs.
This currently interprets them in the way they are used by AstroGrid's
MySpace (as per ACR v2006.3). They look like this:
ivo://uk.ac.le.star/filemanager#node-2201/demo/messier.vot
Both input and output (but not from the same connection)
are supported.
- Since:
- 25 Aug 2006
- Author:
- Mark Taylor
- See Also:
URL.URL(java.lang.String,java.lang.String,int,java.lang.String)
,
URLUtils.installCustomHandlers()
Constructor Summary |
Handler()
No-arg constructor as required. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Handler
public Handler()
- No-arg constructor as required.
openConnection
protected URLConnection openConnection(URL url)
throws IOException
- Specified by:
openConnection
in class URLStreamHandler
- Throws:
IOException
parseURL
protected void parseURL(URL url,
String spec,
int start,
int limit)
- Overrides:
parseURL
in class URLStreamHandler
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.