NASA World Wind

gov.nasa.worldwind.ogc.collada
Class ColladaFile

java.lang.Object
  extended by gov.nasa.worldwind.ogc.collada.ColladaFile
All Implemented Interfaces:
ColladaDoc

public class ColladaFile
extends Object
implements ColladaDoc


Constructor Summary
ColladaFile(File docSource)
           
 
Method Summary
 void closeStream()
           
 InputStream getKMLStream()
          Returns an InputStream to the associated KML document within either a KML file or stream or a KMZ file or stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColladaFile

public ColladaFile(File docSource)
Method Detail

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.

NASA World Wind