Module com.aoapps.hodgepodge
Package com.aoapps.hodgepodge.io
-
Interface Summary Interface Description BitRateProvider ABitRateProviderspecifies precisely how many bits per second of bandwidth a task should use.FileListObject AFileListObjectis able to be placed into aFileList.FileListObjectFactory<T extends FileListObject> AFileListObjectis able to be placed into aFileList.FilesystemIteratorRule Controls the behavior of aFilesystemIterator. -
Class Summary Class Description AOPool<C extends AutoCloseable,Ex extends Throwable,I extends Throwable> Reusable generic connection pooling with dynamic flaming tiger feature.Benchmark A simple disk concurrency scalability benchmark.BenchmarkCounterBlockDevice Times how long a counter block device takes to scan all counters.BitRate ABitRateconsists of a long quantity and an optional unit.BitRateInputStream ABitRateInputStreamregulates an Does not count bytes skipped toward bit rate.BitRateOutputStream ABitRateOutputStreamregulates anOutputStreamto a specific bit rate.ByteCount AByteCountconsists of a long quantity and an optional unit.ByteCountInputStream Wraps an InputStream to count the number of bytes transferred.ByteCountOutputStream Wraps an OutputStream to count the number of bytes transferred.DirectoryMetaSnapshot Recursively (but not following symbolic links), gets a snapshot of the meta data for a directory.DirectoryMetaSnapshot.FileMetaSnapshot DontCloseInputStream Deprecated. Please useNoCloseInputStreaminsteadDontCloseOutputStream Deprecated. Please useNoCloseOutputStreaminsteadFifoFile AFifoFileallows code to read and write to an on-disk managed FIFO.FifoFileInputStream FifoFileOutputStream FileExistsRule Conditionally uses one of two rules based on the existence of a file on the current server.FileList<T extends FileListObject> AFileListis a List that stores its objects in a fixed-record-size file.FilesystemIterator Iterates through all of the files in a file system.FindReplaceProxy Listens on a socket, connects to another socket, while finding and replacing values in the communication.FindReplaceWriter Replaces strings while writing.FixedRecordFile A way to more easily manipulate files with fixed-record-size rows.LogFollower Reads data as is it appended to a log file.LoggingProxy Listens on a socket, connects to another socket, and dumps all communication line-by-line to a single log file.MultiFileInputStream AMultiFileInputStreamreads multipleFiles as if they were one contiguous file.MultiFileOutputStream AMultiFileOutputStreamwrites to multipleFiles as if they were one contiguous file.NativeToPosixWriter Converts native line endings to POSIX format ('\n') while writing.PaddingOutputStream Pads the last block with the necessary number of bytes before closing the stream.ParallelDelete Our backup directories contain parallel directories with many hard links.PrintStreamOutputStream Wraps a PrintStream to be an OutputStream.RateLimitCat Concatenates files similar to the Unix cat command, but with a limited throughput.SkipLinesReader Skips the specified number of lines at the beginning of a reader.StringBuilderWriter AWriterthat buffers its content into aStringBuilder.SyncFile Copies one file to another, only writing the blocks of the destination file if they either didn't already exist or contain different content.TempFile Deprecated. Please useTempFileContextasFile.deleteOnExit()is prone to memory leaks in long-running applications.TempFileList Deprecated. Please useTempFileContextasFile.deleteOnExit()is prone to memory leaks in long-running applications.TerminalWriter A writer that controls advanced features of VT/100 terminals, while silently reverting to standard behavior where the functions are not supported.ZeroFile Zeros-out a file, only writing the blocks of the destination that contain any non-zero value. -
Enum Summary Enum Description BitRate.Unit ByteCount.Unit