Uses of Class
org.pipecraft.infra.io.Compression
-
Packages that use Compression Package Description org.pipecraft.infra.io org.pipecraft.pipes.sync.inter org.pipecraft.pipes.sync.source -
-
Uses of Compression in org.pipecraft.infra.io
Methods in org.pipecraft.infra.io that return Compression Modifier and Type Method Description static CompressionCompression. detect(File file)Detects compression based on file extensionstatic CompressionCompression. detect(String filename)Detects compression based on file extensionCompressionFileReadOptions. getCompression()CompressionFileWriteOptions. getCompression()static CompressionCompression. valueOf(String name)Returns the enum constant of this type with the specified name.static Compression[]Compression. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.pipecraft.infra.io with parameters of type Compression Modifier and Type Method Description static FileFileUtils. compress(File inFile, Compression compression)Compresses a given file, leaving the original.static FileFileUtils. compress(File inFile, Compression compression, int compressionLevel)Compresses a given file, leaving the originalstatic voidFileUtils. compressAll(File folder, Compression compression, int parallelism)Compresses all files in the given folder, deleting the originals Original file names are appended the corresponding compression suffix (.gz/.zst).static voidFileUtils. compressAll(File folder, Compression compression, int compressionLevel, int parallelism)Compresses all files in the given folder, deleting the originals Original file names are appended the corresponding compression suffix (.gz/.zst).static FileFileUtils. decompress(File inFile, Compression compression)Decompresses a given file, leaving the originalstatic voidFileUtils. decompressAll(File folder, Compression compression, int parallelism)Decompresses all files in the given folder, deleting the originals File names are removed the relevant extension (.gz/.zst), and if not found, the name is appended with ".decompressed".static InputStreamFileUtils. getCompressionInputStream(InputStream is, Compression compression)static OutputStreamFileUtils. getCompressionOutputStream(OutputStream os, Compression compression)static OutputStreamFileUtils. getCompressionOutputStream(OutputStream os, Compression compression, int compressionLevel)FileReadOptionsFileReadOptions. setCompression(Compression compression)Sets the compression of the fileFileWriteOptionsFileWriteOptions. setCompression(Compression compression)Sets the compression of the fileFileWriteOptionsFileWriteOptions. setCompression(Compression compression, int compressionLevel)Sets the compression of the file -
Uses of Compression in org.pipecraft.pipes.sync.inter
Constructors in org.pipecraft.pipes.sync.inter with parameters of type Compression Constructor Description SortPipe(Pipe<T> input, int maxItemsInMemory, File tmpFolder, EncoderFactory<? super T> encoderFactory, DecoderFactory<T> decoderFactory, Comparator<T> comparator, Compression tempFilesCompression)Constructor -
Uses of Compression in org.pipecraft.pipes.sync.source
Constructors in org.pipecraft.pipes.sync.source with parameters of type Compression Constructor Description BinInputReaderPipe(InputStream is, DecoderFactory<T> decoderFactory, int bufferSize, long sizeBytes, Compression compression)ConstructorBinInputReaderPipe(FailableInterruptibleSupplier<SizedInputStream,IOException> isCreator, DecoderFactory<T> decoderFactory, int bufferSize, Compression compression)ConstructorInputStreamPipe(int bufferSizeBytes, Compression compression)ConstructorTxtFileReaderPipe(FailableInterruptibleSupplier<SizedInputStream,IOException> isCreator, Charset charset, int bufferSizeBytes, Compression compression)ConstructorTxtFileReaderPipe(SizedInputStream is, Charset charset, int bufferSizeBytes, Compression compression)Constructor
-