java.lang.Object
org.jooq.Source
A source of text data.
-
Method Summary
Modifier and TypeMethodDescriptionstatic final Source
of
(byte[] bytes) Create a source from binary data.static final Source
Create a source from binary data using a specific character set.static final Source
Create a source from binary data using a specific character set.static final Source
of
(byte[] bytes, CharsetDecoder charsetDecoder) Create a source from binary data using a specific character set.static final Source
Create a source from a file.static final Source
Create a source from a file using a specific character set.static final Source
Create a source from a file using a specific character set.static final Source
of
(File file, CharsetDecoder charsetDecoder) Create a source from a file using a specific character set.static final Source
of
(InputStream inputStream) Create a source from an input stream.static final Source
of
(InputStream inputStream, int length) Create a source from an input stream.static final Source
of
(InputStream inputStream, int length, String charsetName) Create a source from an input stream using a specific character set.static final Source
of
(InputStream inputStream, int length, Charset charset) Create a source from an input stream using a specific character set.static final Source
of
(InputStream inputStream, int length, CharsetDecoder charsetDecoder) Create a source from an input stream using a specific character set.static final Source
of
(InputStream inputStream, String charsetName) Create a source from an input stream using a specific character set.static final Source
of
(InputStream inputStream, Charset charset) Create a source from an input stream using a specific character set.static final Source
of
(InputStream inputStream, CharsetDecoder charsetDecoder) Create a source from an input stream using a specific character set.static final Source
Create a source from a reader.static final Source
Create a source from a reader.static final Source
Create a source from a string.final Reader
reader()
Produce a reader from this source.final String
Read the entirereader()
into a String, for convenience.toString()
-
Method Details
-
of
Create a source from a string. -
of
Create a source from binary data. -
of
Create a source from binary data using a specific character set. -
of
Create a source from binary data using a specific character set. -
of
Create a source from binary data using a specific character set. -
of
Create a source from a file. -
of
Create a source from a file using a specific character set. -
of
Create a source from a file using a specific character set. -
of
Create a source from a file using a specific character set. -
of
Create a source from a reader. -
of
Create a source from a reader. -
of
Create a source from an input stream. -
of
Create a source from an input stream using a specific character set. -
of
Create a source from an input stream using a specific character set. -
of
Create a source from an input stream using a specific character set. -
of
Create a source from an input stream. -
of
Create a source from an input stream using a specific character set. -
of
Create a source from an input stream using a specific character set. -
of
Create a source from an input stream using a specific character set. -
reader
Produce a reader from this source.- Throws:
IOException
- When something goes wrong creating a reader from this source.
-
readString
Read the entirereader()
into a String, for convenience.- Throws:
IOException
- When something goes wrong creating a reader from this source.
-
toString
-