|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.util.DataSource
uk.ac.starlink.util.URLDataSource
public class URLDataSource
A DataSource implementation based on a URL
.
Field Summary |
---|
Fields inherited from class uk.ac.starlink.util.DataSource |
---|
DEFAULT_INTRO_LIMIT, MARK_WORKAROUND_PROPERTY |
Constructor Summary | |
---|---|
URLDataSource(java.net.URL url)
Constructs a DataSource from a URL. |
Method Summary | |
---|---|
protected java.io.InputStream |
getRawInputStream()
Provides a new InputStream for this data source. |
java.net.URL |
getURL()
Returns the URL on which this URLDataSource is based. |
Methods inherited from class uk.ac.starlink.util.DataSource |
---|
close, forceCompression, getCompression, getHybridInputStream, getInputStream, getInputStream, getIntro, getIntroLimit, getLength, getMarkWorkaround, getName, getPosition, getRawLength, getSystemId, makeDataSource, makeDataSource, setCompression, setIntroLimit, setMarkWorkaround, setName, setPosition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public URLDataSource(java.net.URL url)
Method Detail |
---|
protected java.io.InputStream getRawInputStream() throws java.io.IOException
DataSource
getRawInputStream
in class DataSource
java.io.IOException
public java.net.URL getURL()
getURL
in class DataSource
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |