@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Deprecated public class EngineUtil extends Object
| Constructor and Description |
|---|
EngineUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
readChars(InputStream inputStream,
int len)
Deprecated.
Read a certain amount of characters from the stream.
|
static String |
readLine(InputStream inputStream)
Deprecated.
Read until '\n' and returns it as a string.
|
protected static Properties |
readResponseHeaders(InputStream inputStream)
Deprecated.
Read headers from a response.
|
public static String readLine(InputStream inputStream) throws IOException
inputStream - The input stream to read from.IOException - Failed to read character from the input streampublic static String readChars(InputStream inputStream, int len) throws IOException
inputStream - The input stream to read from.len - The amount of characters to read.IOException - Failed to read character from the input streamprotected static Properties readResponseHeaders(InputStream inputStream) throws IOException
inputStream - The input stream to read from.Properties.IOException - Failed to read line from the input streamCopyright © 2004–2018. All rights reserved.