Class StepInputStreamWrapper
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- com.inductiveautomation.ignition.client.launch.steps.StepInputStreamWrapper
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class StepInputStreamWrapper extends java.io.FilterInputStreamA FilterInputStream that updates the launch step's progress automatically
-
-
Constructor Summary
Constructors Constructor Description StepInputStreamWrapper(LaunchStep step, byte[] bytes)StepInputStreamWrapper(LaunchStep step, java.io.File file)StepInputStreamWrapper(LaunchStep step, java.io.InputStream in, int totalLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread()intread(byte[] b, int off, int len)-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
-
-
-
-
Constructor Detail
-
StepInputStreamWrapper
public StepInputStreamWrapper(LaunchStep step, byte[] bytes) throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
-
StepInputStreamWrapper
public StepInputStreamWrapper(LaunchStep step, java.io.File file) throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
-
StepInputStreamWrapper
public StepInputStreamWrapper(LaunchStep step, java.io.InputStream in, int totalLength)
-
-