Module org.jooq
Package org.jooq

Class Source


  • @Internal
    public final class Source
    extends Object
    A source of text data.

    [#8986] As of jOOQ 3.12, this is INTERNAL API and should not be used by users.

    • Method Detail

      • of

        public static final Source of​(String string)
        Create a source from a string.
      • of

        public static final Source of​(byte[] bytes)
        Create a source from binary data.
      • of

        public static final Source of​(byte[] bytes,
                                      Charset charset)
        Create a source from binary data using a specific character set.
      • of

        public static final Source of​(Reader reader)
        Create a source from a reader.
      • of

        public static final Source of​(InputStream inputStream)
        Create a source from an input stream.
      • of

        public static final Source of​(InputStream inputStream,
                                      Charset charset)
        Create a source from an input stream using a specific character set.
      • reader

        public final Reader reader()
        Produce a reader from this source.