public class EngineUtil extends Object
Constructor and Description |
---|
EngineUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
readLine(InputStream inputStream)
Read until '\n' and returns it as a string.
|
protected static Properties |
readResponseHeaders(BufferedInputStream inputStream)
Read headers from a response.
|
public static String readLine(InputStream inputStream) throws IOException
inputStream
- The input stream to read from.IOException
protected static Properties readResponseHeaders(BufferedInputStream inputStream) throws IOException
inputStream
- The input stream to read from.Properties
.IOException
Copyright © 2015. All rights reserved.