NASA World Wind

gov.nasa.worldwind.data
Class AbstractDataDescriptorWriter

java.lang.Object
  extended by gov.nasa.worldwind.data.AbstractDataDescriptorWriter
All Implemented Interfaces:
DataDescriptorWriter
Direct Known Subclasses:
BasicDataDescriptorWriter, WWDotNetLayerSetWriter

public abstract class AbstractDataDescriptorWriter
extends java.lang.Object
implements DataDescriptorWriter


Constructor Summary
AbstractDataDescriptorWriter()
           
 
Method Summary
protected abstract  void doWrite(java.io.Writer writer, DataDescriptor descriptor)
           
 java.lang.Object getDestination()
           
protected  java.io.Writer openWriter(java.lang.Object dest)
           
 void setDestination(java.lang.Object destination)
           
 void write(DataDescriptor descriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nasa.worldwind.data.DataDescriptorWriter
getMimeType, matchesMimeType
 

Constructor Detail

AbstractDataDescriptorWriter

public AbstractDataDescriptorWriter()
Method Detail

doWrite

protected abstract void doWrite(java.io.Writer writer,
                                DataDescriptor descriptor)
                         throws java.io.IOException
Throws:
java.io.IOException

getDestination

public java.lang.Object getDestination()
Specified by:
getDestination in interface DataDescriptorWriter

openWriter

protected java.io.Writer openWriter(java.lang.Object dest)
                             throws java.io.IOException
Throws:
java.io.IOException

setDestination

public void setDestination(java.lang.Object destination)
Specified by:
setDestination in interface DataDescriptorWriter

write

public void write(DataDescriptor descriptor)
           throws java.io.IOException
Specified by:
write in interface DataDescriptorWriter
Throws:
java.io.IOException

NASA World Wind