NASA World Wind

gov.nasa.worldwind.data
Class BasicDataDescriptorReader

java.lang.Object
  extended by gov.nasa.worldwind.data.AbstractDataDescriptorReader
      extended by gov.nasa.worldwind.data.BasicDataDescriptorReader
All Implemented Interfaces:
DataDescriptorReader

public class BasicDataDescriptorReader
extends AbstractDataDescriptorReader


Field Summary
static String MIME_TYPE
           
static String VERSION
           
 
Constructor Summary
BasicDataDescriptorReader()
           
 
Method Summary
protected  boolean doCanRead(Object src)
           
protected  boolean doCanReadStream(Reader reader)
           
protected  DataDescriptor doRead(Reader reader)
           
 String getMimeType()
           
 boolean matchesMimeType(String mimeType)
           
protected  RestorableSupport parseDocument(Reader reader)
           
protected  String parseStateKey(String key)
           
protected  Object parseStateValue(RestorableSupport rs, RestorableSupport.StateObject so)
           
 String toString()
           
protected  String validate(RestorableSupport rs)
           
 
Methods inherited from class gov.nasa.worldwind.data.AbstractDataDescriptorReader
canRead, getSource, openReader, read, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MIME_TYPE

public static final String MIME_TYPE
See Also:
Constant Field Values

VERSION

public static final String VERSION
See Also:
Constant Field Values
Constructor Detail

BasicDataDescriptorReader

public BasicDataDescriptorReader()
Method Detail

doCanRead

protected boolean doCanRead(Object src)
                     throws IOException
Overrides:
doCanRead in class AbstractDataDescriptorReader
Throws:
IOException

doCanReadStream

protected boolean doCanReadStream(Reader reader)
                           throws IOException
Specified by:
doCanReadStream in class AbstractDataDescriptorReader
Throws:
IOException

doRead

protected DataDescriptor doRead(Reader reader)
                         throws IOException
Specified by:
doRead in class AbstractDataDescriptorReader
Throws:
IOException

getMimeType

public String getMimeType()

matchesMimeType

public boolean matchesMimeType(String mimeType)

parseDocument

protected RestorableSupport parseDocument(Reader reader)
                                   throws IOException
Throws:
IOException

parseStateKey

protected String parseStateKey(String key)

parseStateValue

protected Object parseStateValue(RestorableSupport rs,
                                 RestorableSupport.StateObject so)

toString

public String toString()
Overrides:
toString in class Object

validate

protected String validate(RestorableSupport rs)

NASA World Wind