Package com._1c.g5.v8.dt.core.lifecycle
Class ExternalDtProjectDataProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.core.lifecycle.ExternalDtProjectDataProvider
-
- Direct Known Subclasses:
OverlayDtProjectDataProvider
public class ExternalDtProjectDataProvider extends Object
Custom data provider forProjectContext
which contains external DT project specific initialization/deinitialization data
-
-
Constructor Summary
Constructors Constructor Description ExternalDtProjectDataProvider(Function<Path,InputStream> sourceInputStreamProvider)
Constructs a data provider
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getSourceInputeStream(Path path)
Gets the source input stream by path
-
-
-
Constructor Detail
-
ExternalDtProjectDataProvider
public ExternalDtProjectDataProvider(Function<Path,InputStream> sourceInputStreamProvider)
Constructs a data provider- Parameters:
sourceInputStreamProvider
- The source file input stream provider. May not benull
-
-
Method Detail
-
getSourceInputeStream
public InputStream getSourceInputeStream(Path path)
Gets the source input stream by path- Returns:
- The source inpute stream. May be {@code null if path points to empty location
-
-