Class FileYinTextSource
java.lang.Object
com.google.common.io.ByteSource
org.opendaylight.yangtools.yang.model.api.source.YinTextSource
org.opendaylight.yangtools.yang.model.spi.source.FileYinTextSource
- All Implemented Interfaces:
Delegator<Path>,Immutable,SourceRepresentation,YinSourceRepresentation
A
AbstractYinTextSource backed by a file.-
Constructor Summary
ConstructorsConstructorDescriptionFileYinTextSource(Path path) FileYinTextSource(SourceIdentifier sourceId, Path path) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.base.MoreObjects.ToStringHelperaddToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper) final Pathfinal 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
-
FileYinTextSource
-
FileYinTextSource
-
-
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>
-