Package com.mendix.mlkit
Class MLKit
java.lang.Object
com.mendix.mlkit.MLKit
Provides access to data serialization and deserialization functions for MLKit integrations.
Currently, supports byte, short, float, int, double and long , N-Dimension (where N is a value between 1 and 4) array
conversion to and from InputStream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
fromBase64
(String base64) Decode InputStream from Base64.static void
toArray
(InputStream is, byte[] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, byte[][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, byte[][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, byte[][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, byte[][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, byte[][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, byte[][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, byte[][][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, double[] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, double[][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, double[][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, double[][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, double[][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, double[][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, double[][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, double[][][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, float[] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, float[][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, float[][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, float[][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, float[][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, float[][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, float[][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, float[][][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, int[] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, int[][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, int[][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, int[][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, int[][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, int[][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, int[][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, int[][][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, long[] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, long[][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, long[][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, long[][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, long[][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, long[][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, long[][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, long[][][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, short[] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, short[][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, short[][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, short[][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, short[][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, short[][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, short[][][][][][][] array) Copies the contents of an InputStream to a provided array.static void
toArray
(InputStream is, short[][][][][][][][] array) Copies the contents of an InputStream to a provided array.static String
toBase64
(InputStream is) Encode InputStream to Base64.static InputStream
toInputStream
(byte[] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(byte[][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(byte[][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(byte[][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(byte[][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(byte[][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(byte[][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(byte[][][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(double[] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(double[][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(double[][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(double[][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(double[][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(double[][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(double[][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(double[][][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(float[] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(float[][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(float[][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(float[][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(float[][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(float[][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(float[][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(float[][][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(int[] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(int[][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(int[][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(int[][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(int[][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(int[][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(int[][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(int[][][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(long[] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(long[][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(long[][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(long[][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(long[][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(long[][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(long[][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(long[][][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(short[] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(short[][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(short[][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(short[][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(short[][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(short[][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(short[][][][][][][] array) Convert an array to an instance of InputStream.static InputStream
toInputStream
(short[][][][][][][][] array) Convert an array to an instance of InputStream.
-
Constructor Details
-
MLKit
public MLKit()
-
-
Method Details
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array- Throws:
IOException
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toArray
Copies the contents of an InputStream to a provided array.- Parameters:
is
- the InputStream to read contents and copy to a provided arrayarray
- the provided array
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toInputStream
Convert an array to an instance of InputStream.- Parameters:
array
- to convert to InputStream
-
toBase64
Encode InputStream to Base64.- Parameters:
is
- to encode to Base64
-
fromBase64
Decode InputStream from Base64.- Parameters:
base64
- Base64 encoded InputStream
-