public class URLScriptSource extends Object implements ScriptSource
ATTR_NAME, ATTR_REQUEST_BINDING, ATTR_REVISION, ATTR_SOURCE, ATTR_TYPE, ATTR_VISIBILITY, AUTO_DETECT| Constructor and Description |
|---|
URLScriptSource(ScriptEntry.Visibility visibility,
URL source,
ScriptName scriptName) |
URLScriptSource(ScriptEntry.Visibility visibility,
URL source,
ScriptName scriptName,
SourceContainer parent) |
| Modifier and Type | Method and Description |
|---|---|
ScriptName[] |
getDependencies() |
ScriptName |
getName() |
SourceContainer |
getParentContainer()
Get the parent container if there is one.
|
Reader |
getReader()
Returns a new Reader on the underlying source object.
|
URL |
getSource() |
URI |
getSourceURI() |
static long |
getURLRevision(URL source,
String revision) |
ScriptEntry.Visibility |
getVisibility() |
String |
guessType() |
public URLScriptSource(ScriptEntry.Visibility visibility, URL source, ScriptName scriptName) throws URISyntaxException
URISyntaxExceptionpublic URLScriptSource(ScriptEntry.Visibility visibility, URL source, ScriptName scriptName, SourceContainer parent) throws URISyntaxException
URISyntaxExceptionpublic String guessType()
guessType in interface ScriptSourcepublic ScriptName getName()
getName in interface SourceUnitpublic URL getSource()
getSource in interface SourceUnitpublic URI getSourceURI()
getSourceURI in interface SourceUnitpublic Reader getReader() throws IOException
ScriptSourcegetReader in interface ScriptSourceIOException - if there was an error opening for streampublic ScriptEntry.Visibility getVisibility()
getVisibility in interface SourceUnitpublic ScriptName[] getDependencies()
getDependencies in interface ScriptSourcepublic SourceContainer getParentContainer()
SourceUnitgetParentContainer in interface SourceUnitCopyright © 2025 Open Identity Platform Community. All rights reserved.