java.lang.Object
org.jooq.Source
A source of text data.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Sourceof(byte[] bytes)Create a source from binary data.static SourceCreate a source from binary data using a specific character set.static SourceCreate a source from binary data using a specific character set.static Sourceof(byte[] bytes, CharsetDecoder charsetDecoder)Create a source from binary data using a specific character set.static SourceCreate a source from a file.static SourceCreate a source from a file using a specific character set.static SourceCreate a source from a file using a specific character set.static Sourceof(File file, CharsetDecoder charsetDecoder)Create a source from a file using a specific character set.static Sourceof(InputStream inputStream)Create a source from an input stream.static Sourceof(InputStream inputStream, int length)Create a source from an input stream.static Sourceof(InputStream inputStream, int length, String charsetName)Create a source from an input stream using a specific character set.static Sourceof(InputStream inputStream, int length, Charset charset)Create a source from an input stream using a specific character set.static Sourceof(InputStream inputStream, int length, CharsetDecoder charsetDecoder)Create a source from an input stream using a specific character set.static Sourceof(InputStream inputStream, String charsetName)Create a source from an input stream using a specific character set.static Sourceof(InputStream inputStream, Charset charset)Create a source from an input stream using a specific character set.static Sourceof(InputStream inputStream, CharsetDecoder charsetDecoder)Create a source from an input stream using a specific character set.static SourceCreate a source from a reader.static SourceCreate a source from a reader.static SourceCreate a source from a string.reader()Produce a reader from this source.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
-