Class URLYinTextSource
java.lang.Object
com.google.common.io.ByteSource
org.opendaylight.yangtools.yang.model.api.source.YinTextSource
org.opendaylight.yangtools.yang.model.spi.source.URLYinTextSource
- All Implemented Interfaces:
Delegator<URL>,Immutable,SourceRepresentation,YinSourceRepresentation
A
AbstractYinTextSource.backed by a URL.-
Constructor Summary
ConstructorsConstructorDescriptionURLYinTextSource(URL url) URLYinTextSource(SourceIdentifier sourceId, URL url) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.base.MoreObjects.ToStringHelperaddToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper) final URLfinal InputStreamfinal SourceIdentifiersourceId()final @NonNull StringMethods inherited from class org.opendaylight.yangtools.yang.model.api.source.YinTextSource
getType, toStringMethods 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
-
Constructor Details
-
URLYinTextSource
-
URLYinTextSource
-
-
Method Details
-
openStream
- Specified by:
openStreamin classcom.google.common.io.ByteSource- Throws:
IOException
-
symbolicName
-
addToStringAttributes
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper) - Overrides:
addToStringAttributesin classYinTextSource
-
sourceId
- Specified by:
sourceIdin interfaceSourceRepresentation
-
getDelegate
- Specified by:
getDelegatein interfaceDelegator<T>
-