org.das2.util.filesystem
Class DefaultWebProtocol

java.lang.Object
  extended by org.das2.util.filesystem.DefaultWebProtocol
All Implemented Interfaces:
WebProtocol

public class DefaultWebProtocol
extends java.lang.Object
implements WebProtocol

This is the old way that uses subclasses of WebFileObject. This should go away.


Field Summary
 
Fields inherited from interface org.das2.util.filesystem.WebProtocol
META_EXIST
 
Constructor Summary
DefaultWebProtocol()
           
 
Method Summary
 java.io.InputStream getInputStream(WebFileObject fo, ProgressMonitor mon)
           
 java.util.Map<java.lang.String,java.lang.String> getMetadata(WebFileObject fo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWebProtocol

public DefaultWebProtocol()
Method Detail

getInputStream

public java.io.InputStream getInputStream(WebFileObject fo,
                                          ProgressMonitor mon)
                                   throws java.io.IOException
Specified by:
getInputStream in interface WebProtocol
Throws:
java.io.IOException

getMetadata

public java.util.Map<java.lang.String,java.lang.String> getMetadata(WebFileObject fo)
                                                             throws java.io.IOException
Specified by:
getMetadata in interface WebProtocol
Throws:
java.io.IOException