updateTime - the time at which the link was last updated. Has no effect if the address is a local file. Store remote files in a temporary location. Parameters: link - the address to resolve cacheRemoteFile - true to store remote files in the WorldWind cache, or false to The temporary locationįor a retrieved file does not persist between runtime sessions, and subsequent invocations of this method may not This parameter has no effect if the file exists locally. The cacheRemoteFile parameter specifies whether to store a retrieved remote file in the WorldWindĬache or in a temporary location. The return value is null if the linkedįile is not a KML file, or is not yet available in the FileStore. The return value is a parsed KMLRoot representing the linked document. This method retrieves remote resources asynchronously Resolves a NetworkLink to a local or remote KML document. createParserContext protected KMLParserContext createParserContext( reader).java.io.IOException - if an error occurs while reading the source. Returns: a new KMLRoot for the specified source, or null if the source type is not supported. Parameters: docSource - either a File, a URL, or an InputStream, or a String identifyingĪ file path or URL. Namespace unaware parsing typicallyīypasses many problems, but it also causes namespace qualified elements in the XML to be unrecognized. Occurs during parsing, it will try again using a namespace unaware parser. This method first tries to use a namespace aware parser, but if a severe problem Note: Because there are so many incorrectly formed KML files in distribution, it's often not possible to parse Null is returned if the source type is not recognized. InputStream an attempt is made to determine whether the source is KML or KMZ KML is assumed if the The source must be either a File, a URL,Ī InputStream, or a String identifying either a file path or a URL. Creates a KML root for an untyped source and parses it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |