Skip navigation links
A C E G H O P R 

A

AsyncReaderRecorder - Class in com.github.tuupertunut.powershelllibjava
An asynchronous recorder for Readers (character streams).
AsyncReaderRecorder(Reader) - Constructor for class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
Creates a new recorder, recording the given Reader.

C

close() - Method in class com.github.tuupertunut.powershelllibjava.PowerShell
Closes this PowerShell session and frees all resources associated with it.
com.github.tuupertunut.powershelllibjava - package com.github.tuupertunut.powershelllibjava
 
consumeAll() - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
Consumes and returns the whole buffer at once.
consumeAllAfterCurrentInput() - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
Consumes and returns the whole buffer after the current reading is complete.
consumeAmount(int) - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
Consumes and returns a fixed amount of characters from the buffer.
consumeToNextDelimiter(String) - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
Consumes and returns the buffer up to the point where the delimiter first occurs.

E

escapePowerShellString(String) - Static method in class com.github.tuupertunut.powershelllibjava.PowerShell
Wraps a string in quotes and escapes all PowerShell special characters.
executeCommands(String...) - Method in class com.github.tuupertunut.powershelllibjava.PowerShell
Executes one or more PowerShell commands.

G

getBuffer() - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
 
getBufferedAmount() - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
 
getException() - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
 

H

hasExceptionOccurred() - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
 
hasStreamEnded() - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
 

O

open() - Static method in class com.github.tuupertunut.powershelllibjava.PowerShell
Opens a new PowerShell session with default executable.
open(String) - Static method in class com.github.tuupertunut.powershelllibjava.PowerShell
Opens a new PowerShell session with the provided executable.

P

PowerShell - Class in com.github.tuupertunut.powershelllibjava
PowerShell session that can be used to execute PowerShell commands.
PowerShellExecutionException - Exception in com.github.tuupertunut.powershelllibjava
Thrown if an error is encountered while executing a PowerShell command.
PowerShellExecutionException() - Constructor for exception com.github.tuupertunut.powershelllibjava.PowerShellExecutionException
Creates a new instance of PowerShellExecutionException without detail message.
PowerShellExecutionException(String) - Constructor for exception com.github.tuupertunut.powershelllibjava.PowerShellExecutionException
Constructs an instance of PowerShellExecutionException with the specified detail message.

R

run() - Method in class com.github.tuupertunut.powershelllibjava.AsyncReaderRecorder
Records the reader into the buffer.
A C E G H O P R 
Skip navigation links

Copyright © 2019. All rights reserved.