Package com.microsoft.kiota
Class Compatibility
java.lang.Object
com.microsoft.kiota.Compatibility
Compatibility methods for android
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanINTERNAL METHOD, DO NOT USE DIRECTLY Checks if the string is null or empty or blankstatic byte[]readAllBytes(InputStream inputStream) INTERNAL METHOD, DO NOT USE DIRECTLY Reads all bytes from the given input stream
-
Method Details
-
readAllBytes
INTERNAL METHOD, DO NOT USE DIRECTLY Reads all bytes from the given input stream- Parameters:
inputStream- the input stream to read from- Returns:
- the bytes read from the stream
- Throws:
IOException- when the stream cannot be closed or read.
-
isBlank
INTERNAL METHOD, DO NOT USE DIRECTLY Checks if the string is null or empty or blank- Parameters:
str- the string to check- Returns:
- true if the string is null or empty or blank
-