public interface KMLDoc
| Modifier and Type | Method and Description | 
|---|---|
InputStream | 
getKMLStream()
Returns an  
InputStream to the associated KML document within either a KML file or stream or a KMZ file or
 stream. | 
String | 
getSupportFilePath(String path)
Returns an absolute path or URL to a file indicated by a path relative to the KML file's location. 
 | 
InputStream | 
getSupportFileStream(String path)
Returns a file specified by a path relative to the KML document. 
 | 
InputStream getKMLStream() throws IOException
InputStream to the associated KML document within either a KML file or stream or a KMZ file or
 stream.
 
 Implementations of this interface do not close the stream; the user of the class must close the stream.IOException - if an error occurs while attempting to create or open the input stream.String getSupportFilePath(String path) throws IOException
path - the path of the requested file.IllegalArgumentException - if the specified path is null.IOException - if an error occurs while attempting to read the support file.InputStream getSupportFileStream(String path) throws IOException
path - the path of the requested file.IllegalArgumentException - if the path is null.IOException - if an error occurs while attempting to create or open the input stream.