Package org.apache.camel.github
Class GitHubResource
- java.lang.Object
-
- org.apache.camel.support.ResourceSupport
-
- org.apache.camel.github.GitHubResource
-
- All Implemented Interfaces:
org.apache.camel.spi.Resource
public final class GitHubResource extends org.apache.camel.support.ResourceSupport
-
-
Constructor Summary
Constructors Constructor Description GitHubResource(org.apache.camel.CamelContext camelContext, String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists()InputStreamgetInputStream()-
Methods inherited from class org.apache.camel.support.ResourceSupport
equals, getLocation, getScheme, hashCode, toString
-
-
-
-
Constructor Detail
-
GitHubResource
public GitHubResource(org.apache.camel.CamelContext camelContext, String location)
-
-
Method Detail
-
exists
public boolean exists()
-
getInputStream
public InputStream getInputStream() throws IOException
- Throws:
IOException
-
-