Package | Description |
---|---|
org.astrogrid.samp.util |
Modifier and Type | Field and Description |
---|---|
static ResourceType |
ResourceType.RTYPE_CDF
Resource type for table.load.cdf.
|
static ResourceType |
ResourceType.RTYPE_FITS
Resource type for image.load.fits.
|
static ResourceType |
ResourceType.RTYPE_VOTABLE
Resource type for table.load.votable.
|
Modifier and Type | Method and Description |
---|---|
static ResourceType[] |
ResourceType.getKnownResourceTypes()
Returns the known resource types.
|
static ResourceType |
ResourceType.readContentResourceType(URL url)
Attempts to determine the resource type of a given URL by
downloading the first part of its content and examining the
magic number.
|
static ResourceType |
ResourceType.readHeadResourceType(URL url)
Attempts to determine the resource type of a given URL by
making an HTTP HEAD request and looking at the Content-Type.
|
Constructor and Description |
---|
SampLoad(GuiHubConnector connector,
ResourceType rtype,
URL url,
String location)
Constructor.
|
Copyright © 2008–2024. All rights reserved.