类 InputSuppliers


  • public class InputSuppliers
    extends Object
    InputStream Supplier Utils
    • 构造器详细资料

      • InputSuppliers

        public InputSuppliers()
    • 方法详细资料

      • of

        public static InputSupplier of​(Path path)
        Create InputSupplier from File Path.
        参数:
        path - the file path
        返回:
        InputSupplier
      • of

        public static InputSupplier of​(byte[] bytes)
        Create InputSupplier from byte array data.
        参数:
        bytes - the data
        返回:
        InputSupplier