public class CdmRemote extends NetcdfFile
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOCOL |
static String |
SCHEME |
cache, cacheName, debugCompress, debugSPI, dimensions, gattributes, id, IOSP_MESSAGE_ADD_RECORD_STRUCTURE, IOSP_MESSAGE_CONVERT_RECORD_STRUCTURE, IOSP_MESSAGE_RANDOM_ACCESS_FILE, IOSP_MESSAGE_REMOVE_RECORD_STRUCTURE, location, reservedCdl, reservedFullName, reservedSectionSpec, rootGroup, spi, title, variables| Constructor and Description |
|---|
CdmRemote(InputStream is,
String location) |
CdmRemote(String _remoteURI) |
| Modifier and Type | Method and Description |
|---|---|
static String |
canonicalURL(String urlName)
Create the canonical form of the URL.
|
void |
close()
Close all resources (files, sockets, etc) associated with this file.
|
String |
getFileTypeDescription()
Get a human-readable description for this file type.
|
String |
getFileTypeId()
Get the file type id for the underlying data source.
|
protected StructureDataIterator |
getStructureIterator(Structure s,
int bufferSize) |
protected Array |
readData(Variable v,
Section section) |
static InputStream |
sendQuery(ucar.httpservices.HTTPSession session,
String remoteURI,
String query) |
static void |
setAllowCompression(boolean b) |
static void |
setDebugFlags(DebugFlags debugFlag) |
void |
writeToFile(String filename) |
addAttribute, addAttribute, addDimension, addGroup, addStringVariable, addVariable, addVariable, addVariableAttribute, canonicalizeUriString, canOpen, empty, findAttribute, findAttValueIgnoreCase, findDimension, findGlobalAttribute, findGlobalAttributeIgnoreCase, findGroup, findVariable, findVariable, findVariableByAttribute, finish, getCacheName, getDetailInfo, getDetailInfo, getDimensions, getFileTypeVersion, getGlobalAttributes, getId, getIosp, getLastModified, getLocation, getRootGroup, getTitle, getUnlimitedDimension, getVariables, hasUnlimitedDimension, iospDeRegister, iospRegistered, makeFullName, makeFullName, makeFullNameSectionSpec, makeFullNameWithString, makeNameUnescaped, makeRecordStructure, makeRootGroup, makeValidCDLName, makeValidCdmObjectName, makeValidPathName, makeValidSectionSpecName, open, open, open, open, open, open, openInMemory, openInMemory, openInMemory, openInMemory, reacquire, read, readArrays, readAttributeDouble, readAttributeInteger, readSection, readToByteChannel, readToOutputStream, registerIOProvider, registerIOProvider, registerIOProvider, registerIOProviderPreferred, release, removeDimension, removeRecordStructure, removeVariable, sendIospMessage, setCacheName, setFileCache, setId, setImmutable, setLocation, setProperty, setTitle, showCached, showProxies, syncExtend, toNcML, toString, toStringDebug, toStringEnd, toStringStart, toStringStart, writeCDL, writeCDL, writeCDL, writeNcML, writeNcMLpublic static final String PROTOCOL
public static final String SCHEME
public CdmRemote(String _remoteURI) throws IOException
IOExceptionpublic CdmRemote(InputStream is, String location) throws IOException
IOExceptionpublic static void setDebugFlags(DebugFlags debugFlag)
public static void setAllowCompression(boolean b)
public static String canonicalURL(String urlName)
urlName - the url stringprotected Array readData(Variable v, Section section) throws IOException
readData in class NetcdfFileIOExceptionprotected StructureDataIterator getStructureIterator(Structure s, int bufferSize)
getStructureIterator in class NetcdfFilepublic static InputStream sendQuery(ucar.httpservices.HTTPSession session, String remoteURI, String query) throws IOException
IOExceptionpublic String getFileTypeId()
NetcdfFilegetFileTypeId in class NetcdfFilepublic String getFileTypeDescription()
NetcdfFilegetFileTypeDescription in class NetcdfFilepublic void writeToFile(String filename) throws IOException
IOExceptionpublic void close()
NetcdfFileclose in interface Closeableclose in interface AutoCloseableclose in interface FileCacheableclose in class NetcdfFile