Class ResourceSupport

java.lang.Object
org.apache.camel.support.ResourceSupport
All Implemented Interfaces:
org.apache.camel.spi.Resource
Direct Known Subclasses:
CachedResource

public abstract class ResourceSupport extends Object implements org.apache.camel.spi.Resource
Base class for Resource implementations.
  • Constructor Details

    • ResourceSupport

      protected ResourceSupport(String scheme, String location)
  • Method Details

    • getScheme

      public String getScheme()
      Specified by:
      getScheme in interface org.apache.camel.spi.Resource
    • getLocation

      public String getLocation()
      Specified by:
      getLocation in interface org.apache.camel.spi.Resource
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object