public class DefaultResource extends Object implements org.apache.camel.spi.Resource
| Constructor and Description |
|---|
DefaultResource(String location,
org.apache.camel.util.function.ThrowingSupplier<InputStream,IOException> inputStreamSupplier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
InputStream |
getInputStream() |
String |
getLocation() |
int |
hashCode() |
String |
toString() |
public DefaultResource(String location, org.apache.camel.util.function.ThrowingSupplier<InputStream,IOException> inputStreamSupplier)
public String getLocation()
getLocation in interface org.apache.camel.spi.Resourcepublic InputStream getInputStream() throws IOException
getInputStream in interface org.apache.camel.spi.ResourceIOExceptionApache Camel