- java.lang.Object
-
- org.jline.builtins.Source.InputStreamSource
-
- All Implemented Interfaces:
Source
- Direct Known Subclasses:
Source.StdInSource
- Enclosing interface:
- Source
public static class Source.InputStreamSource extends Object implements Source
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jline.builtins.Source
Source.InputStreamSource, Source.PathSource, Source.ResourceSource, Source.StdInSource, Source.URLSource
-
-
Constructor Summary
Constructors Constructor Description InputStreamSource(InputStream in, boolean close, String name)
-
-
-
Constructor Detail
-
InputStreamSource
public InputStreamSource(InputStream in, boolean close, String name)
-
-
Method Detail
-
read
public InputStream read() throws IOException
- Specified by:
read
in interfaceSource
- Throws:
IOException
-
-