Open Kilda Java Documentation
org.openkilda.utility.IoUtil Class Reference

Static Public Member Functions

static String toString (final InputStream inputStream) throws IOException
 
static void close (final Closeable closeable)
 
static boolean chkStringIsNotEmpty (String value)
 

Detailed Description

The Class IoUtils.

Definition at line 13 of file IoUtil.java.

Member Function Documentation

◆ chkStringIsNotEmpty()

static boolean org.openkilda.utility.IoUtil.chkStringIsNotEmpty ( String  value)
static

Chk string is not empty.

Parameters
valuethe value
Returns
true, if successful

Definition at line 64 of file IoUtil.java.

◆ close()

static void org.openkilda.utility.IoUtil.close ( final Closeable  closeable)
static

Close the closable object.

Parameters
closeableclosable object.

Definition at line 47 of file IoUtil.java.

◆ toString()

static String org.openkilda.utility.IoUtil.toString ( final InputStream  inputStream) throws IOException
static

Returns data present in the stream.

Parameters
inputStreaminput stream having content.
Returns
data with all content present in the stream.
Exceptions
IOExceptionIf an I/O error occurs

Definition at line 29 of file IoUtil.java.


The documentation for this class was generated from the following file: