-
- All Implemented Interfaces:
-
eu.jrie.jetbrains.kotlinshell.processes.execution.ExecutionContext,eu.jrie.jetbrains.kotlinshell.processes.execution.ProcessExecutionContext,eu.jrie.jetbrains.kotlinshell.shell.ShellBase,eu.jrie.jetbrains.kotlinshell.shell.ShellUtility,eu.jrie.jetbrains.kotlinshell.shell.piping.ShellPipingThrough,eu.jrie.jetbrains.kotlinshell.shell.piping.ShellPipingTo,eu.jrie.jetbrains.kotlinshell.shell.piping.from.ShellPipingFromLambda,eu.jrie.jetbrains.kotlinshell.shell.piping.from.ShellPipingFromStream
@ExperimentalCoroutinesApi() public interface ShellPipingFromFile implements ShellPipingFromStream
-
-
Method Summary
Modifier and Type Method Description Pipelinepipe(File $self, ProcessExecutable process)Starts new Pipeline from this File to process. Pipelinepipe(File $self, SuspendFunction1<ExecutionContext, Unit> lambda)Starts new Pipeline from this File to lambda. Pipelinepipe(File $self, SendChannel<ByteReadPacket> channel)Starts new Pipeline from this File to channel. Pipelinepipe(File $self, BytePacketBuilder packetBuilder)Starts new Pipeline from this File to packetBuilder. Pipelinepipe(File $self, OutputStream stream)Starts new Pipeline from this File to stream. Pipelinepipe(File $self, File file)Starts new Pipeline from this File to file. Pipelinepipe(File $self, StringBuilder stringBuilder)Starts new Pipeline from this File to stringBuilder. PipelinepipeAppend(File $self, File file)Starts new Pipeline from this File and appends file. SuspendFunction1<ExecutionContext, Unit>getEnv()SuspendFunction1<ExecutionContext, Unit>getSet()Map<String, String>getShellEnv()Map<String, String>getSystemEnv()abstract CoroutineScopegetScope()CoroutineScope used by this shell, its members and sub shells abstract Map<String, String>getEnvironment()Environment of this shell. abstract Map<String, String>getVariables()Variables of this shell. abstract FilegetDirectory()Current directory of this shell abstract ProcessCommandergetCommander()abstract ReceiveChannel<ByteReadPacket>getStdin()abstract SendChannel<ByteReadPacket>getStdout()abstract SendChannel<ByteReadPacket>getStderr()-
Methods inherited from class eu.jrie.jetbrains.kotlinshell.shell.piping.from.ShellPipingFromFile
from, fromUse, pipe, pipe, pipe, pipe, pipe, pipe, pipe, pipeAppend -
Methods inherited from class eu.jrie.jetbrains.kotlinshell.shell.piping.from.ShellPipingFromStream
from, pipe, pipe, pipe, pipe, pipe, pipe, pipe, pipeAppend -
Methods inherited from class eu.jrie.jetbrains.kotlinshell.shell.piping.from.ShellPipingFromLambda
pipe, pipe -
Methods inherited from class eu.jrie.jetbrains.kotlinshell.shell.piping.ShellPipingThrough
pipe, pipe, pipe, pipe, pipe, pipeAppend -
Methods inherited from class eu.jrie.jetbrains.kotlinshell.shell.piping.ShellPipingTo
cd, cd, cd, cd, cd, env, export, export, file, file, mkdir, unset, variable, variable -
Methods inherited from class eu.jrie.jetbrains.kotlinshell.shell.ShellUtility
closeOut, command, finalize, invoke -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
pipe
Pipeline pipe(File $self, ProcessExecutable process)
-
pipe
Pipeline pipe(File $self, SuspendFunction1<ExecutionContext, Unit> lambda)
-
pipe
Pipeline pipe(File $self, BytePacketBuilder packetBuilder)
Starts new Pipeline from this File to packetBuilder. Shall be wrapped with piping DSL
-
pipe
Pipeline pipe(File $self, OutputStream stream)
-
pipe
Pipeline pipe(File $self, StringBuilder stringBuilder)
Starts new Pipeline from this File to stringBuilder. Shall be wrapped with piping DSL
-
pipeAppend
Pipeline pipeAppend(File $self, File file)
-
getEnv
SuspendFunction1<ExecutionContext, Unit> getEnv()
-
getSet
SuspendFunction1<ExecutionContext, Unit> getSet()
-
getShellEnv
Map<String, String> getShellEnv()
-
getSystemEnv
Map<String, String> getSystemEnv()
-
getScope
abstract CoroutineScope getScope()
CoroutineScope used by this shell, its members and sub shells
-
getEnvironment
abstract Map<String, String> getEnvironment()
Environment of this shell. These variables are being inherited to sub shells.
-
getVariables
abstract Map<String, String> getVariables()
Variables of this shell. These variables are not being inherited to sub shells.
-
getDirectory
abstract File getDirectory()
Current directory of this shell
-
getCommander
abstract ProcessCommander getCommander()
-
getStdin
abstract ReceiveChannel<ByteReadPacket> getStdin()
-
getStdout
abstract SendChannel<ByteReadPacket> getStdout()
-
getStderr
abstract SendChannel<ByteReadPacket> getStderr()
-
-
-
-