Package org.jooq

Class Source


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

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

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Source of​(byte[] bytes)
      Create a source from binary data.
      static Source of​(byte[] bytes, java.nio.charset.Charset charset)
      Create a source from binary data using a specific character set.
      static Source of​(java.io.InputStream inputStream)
      Create a source from an input stream.
      static Source of​(java.io.InputStream inputStream, java.nio.charset.Charset charset)
      Create a source from an input stream using a specific character set.
      static Source of​(java.io.Reader reader)
      Create a source from a reader.
      static Source of​(java.lang.String string)
      Create a source from a string.
      java.io.Reader reader()
      Produce a reader from this source.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • of

        public static final Source of​(java.lang.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,
                                      java.nio.charset.Charset charset)
        Create a source from binary data using a specific character set.
      • of

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

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

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

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