java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.aoapps.hodgepodge.io.BitRateInputStream
- All Implemented Interfaces:
NoClose,Closeable,AutoCloseable
A
BitRateInputStream regulates an
Does not count bytes skipped toward bit rate.
InputStream to a specific bit rate.
Please note that this class is not synchronized
so it should only be used from a single Thread
or should be synchronized externally.- Author:
- AO Industries, Inc.
-
Field Summary
FieldsFields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
Field Details
-
MAX_CATCHUP_TIME
public static final long MAX_CATCHUP_TIME- See Also:
-
-
Constructor Details
-
BitRateInputStream
-
-
Method Details
-
isNoClose
public boolean isNoClose() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceNoClose- Overrides:
closein classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-