gov.nasa.worldwind.ogc.collada
Class ColladaFile
java.lang.Object
gov.nasa.worldwind.ogc.collada.ColladaFile
- All Implemented Interfaces:
- ColladaDoc
public class ColladaFile
- extends Object
- implements ColladaDoc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColladaFile
public ColladaFile(File docSource)
closeStream
public void closeStream()
- Specified by:
closeStream
in interface ColladaDoc
getKMLStream
public InputStream getKMLStream()
throws IOException
- Description copied from interface:
ColladaDoc
- Returns an
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.
- Specified by:
getKMLStream
in interface ColladaDoc
- Returns:
- an input stream positioned to the head of the KML document.
- Throws:
IOException
- if an error occurs while attempting to create or open the input stream.