Class AbstractDataResource

java.lang.Object
org.gvsig.fmap.dal.AbstractDataResource
All Implemented Interfaces:
Closeable, AutoCloseable, org.gvsig.tools.resourcesstorage.ResourcesStorage.Resource

public abstract class AbstractDataResource extends Object implements org.gvsig.tools.resourcesstorage.ResourcesStorage.Resource
Author:
jjdelcerro
  • Constructor Details

    • AbstractDataResource

      public AbstractDataResource()
  • Method Details

    • getURL

      public URL getURL()
      Specified by:
      getURL in interface org.gvsig.tools.resourcesstorage.ResourcesStorage.Resource
    • exists

      public boolean exists()
      Specified by:
      exists in interface org.gvsig.tools.resourcesstorage.ResourcesStorage.Resource
    • asInputStream

      public InputStream asInputStream() throws IOException
      Specified by:
      asInputStream in interface org.gvsig.tools.resourcesstorage.ResourcesStorage.Resource
      Throws:
      IOException
    • asOutputStream

      public OutputStream asOutputStream() throws IOException
      Specified by:
      asOutputStream in interface org.gvsig.tools.resourcesstorage.ResourcesStorage.Resource
      Throws:
      IOException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.gvsig.tools.resourcesstorage.ResourcesStorage.Resource