| Package | Description |
|---|---|
| com.opengamma.strata.collect.io |
Provides utilities for the management of input and output.
|
| Modifier and Type | Field and Description |
|---|---|
static StringCharSource |
StringCharSource.EMPTY
An empty source.
|
| Modifier and Type | Method and Description |
|---|---|
StringCharSource |
ArrayByteSource.asCharSource(Charset charset) |
StringCharSource |
ArrayByteSource.asCharSourceUtf8() |
StringCharSource |
ArrayByteSource.asCharSourceUtf8UsingBom() |
static StringCharSource |
StringCharSource.from(CharSource other)
Obtains an instance from another char source.
|
static StringCharSource |
StringCharSource.from(CheckedSupplier<? extends Reader> readerSupplier)
Obtains an instance from a
Reader. |
static StringCharSource |
StringCharSource.from(Readable reader)
Obtains an instance from a
Readable. |
static StringCharSource |
StringCharSource.fromBytes(byte[] bytes,
Charset charset)
Obtains an instance from a byte array.
|
static StringCharSource |
StringCharSource.fromBytesUtf8(byte[] bytes)
Obtains an instance from a UTF-8 byte array.
|
StringCharSource |
StringCharSource.load() |
StringCharSource |
BeanCharSource.load()
Loads the content of the source into memory.
|
static StringCharSource |
StringCharSource.of(String str)
Obtains an instance.
|
static StringCharSource |
CharSources.ofContent(byte[] content)
Obtains an instance of
CharSource from a text variable, specified as a byte array. |
static StringCharSource |
CharSources.ofContent(byte[] content,
Charset charset)
Obtains an instance of
CharSource from a text variable, specified as a byte array. |
static StringCharSource |
CharSources.ofContent(String content)
Obtains an instance of
CharSource from a text variable, specified as a String object. |
StringCharSource |
StringCharSource.withFileName(String fileName)
Returns an instance with the file name updated.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.