Package org.jclouds.byon.suppliers
Class SupplyFromProviderURIOrNodesProperty
- java.lang.Object
-
- com.google.common.io.ByteSource
-
- org.jclouds.byon.suppliers.SupplyFromProviderURIOrNodesProperty
-
- All Implemented Interfaces:
com.google.common.base.Function<URI,InputStream>
,Function<URI,InputStream>
public class SupplyFromProviderURIOrNodesProperty extends com.google.common.io.ByteSource implements com.google.common.base.Function<URI,InputStream>
-
-
Constructor Summary
Constructors Constructor Description SupplyFromProviderURIOrNodesProperty(com.google.common.base.Supplier<URI> url)
SupplyFromProviderURIOrNodesProperty(URI url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
apply(URI input)
InputStream
openStream()
String
toString()
-
Methods inherited from class com.google.common.io.ByteSource
asCharSource, concat, concat, concat, contentEquals, copyTo, copyTo, empty, hash, isEmpty, openBufferedStream, read, read, size, sizeIfKnown, slice, wrap
-
-
-
-
Field Detail
-
logger
protected Logger logger
-
-
Method Detail
-
openStream
public InputStream openStream()
- Specified by:
openStream
in classcom.google.common.io.ByteSource
-
apply
public InputStream apply(URI input)
- Specified by:
apply
in interfacecom.google.common.base.Function<URI,InputStream>
- Specified by:
apply
in interfaceFunction<URI,InputStream>
-
-