Uses of Class
com.opengamma.strata.collect.io.BeanByteSource
-
Packages that use BeanByteSource Package Description com.opengamma.strata.collect.io Provides utilities for the management of input and output. -
-
Uses of BeanByteSource in com.opengamma.strata.collect.io
Subclasses of BeanByteSource in com.opengamma.strata.collect.io Modifier and Type Class Description class
ArrayByteSource
A byte source implementation that explicitly wraps a byte array.class
FileByteSource
A byte source implementation that obtains data from a file.class
UriByteSource
A byte source implementation that obtains data from a URI.Methods in com.opengamma.strata.collect.io that return BeanByteSource Modifier and Type Method Description BeanByteSource
BeanCharSource. asByteSource(Charset charset)
BeanByteSource
BeanCharSource. asByteSourceUtf8()
Converts this char source to a byte source in UTF-8.static BeanByteSource
ZipUtils. decryptZip(BeanByteSource source, String password)
Provides a new source that decrypts the specified source ZIP.BeanByteSource
ResourceLocator. getByteSource()
Gets the byte source to access the resource.Methods in com.opengamma.strata.collect.io with parameters of type BeanByteSource Modifier and Type Method Description static BeanByteSource
ZipUtils. decryptZip(BeanByteSource source, String password)
Provides a new source that decrypts the specified source ZIP.static BeanCharSource
UnicodeBom. toCharSource(BeanByteSource byteSource)
Converts aBeanByteSource
to aBeanCharSource
.static Map<String,ArrayByteSource>
ZipUtils. unpackInMemory(BeanByteSource source)
Unpacks the source into memory, returning a map.static void
ZipUtils. unpackInMemory(BeanByteSource source, BiConsumer<String,ArrayByteSource> consumer)
Unpacks the source into memory, invoking the consumer for each entry.static void
ZipUtils. unzip(BeanByteSource source, Path path)
Unzips the source to a file path.static Map<String,ArrayByteSource>
ZipUtils. unzipInMemory(BeanByteSource source)
Unzips the source into memory, returning a map.static void
ZipUtils. unzipInMemory(BeanByteSource source, BiConsumer<String,ArrayByteSource> consumer)
Unzips the source into memory, invoking the consumer for each entry.static Optional<ArrayByteSource>
ZipUtils. unzipPathNameInMemory(BeanByteSource source, String relativePathName)
Unzips a single file from the source in memory.static Set<String>
ZipUtils. unzipPathNames(BeanByteSource source)
Unzips the source returning the file names that are contained.Method parameters in com.opengamma.strata.collect.io with type arguments of type BeanByteSource Modifier and Type Method Description static ArrayByteSource
ZipUtils. zipInMemory(List<? extends BeanByteSource> sources)
Creates a zip file from the list of files in memory.
-