Package | Description |
---|---|
com.gc.iotools.stream.base |
Base classes and Enumerations.
|
com.gc.iotools.stream.is |
Provides classes that extends java.io.InputStream.
|
com.gc.iotools.stream.reader |
Provides classes that extends java.io.Reader.
|
Modifier and Type | Method and Description |
---|---|
static ByteUnit |
ByteUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteUnit[] |
ByteUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static float |
ByteUnit.convert(long bytes,
ByteUnit bu) |
double |
BaseGlobalStats.getTotalDataRead(ByteUnit byteUnit) |
Modifier and Type | Method and Description |
---|---|
float |
StatsInputStream.getIOBitRate(ByteUnit bu)
Returns the read speed of this single instance.
|
double |
StatsInputStream.getTotalDataRead(ByteUnit unit)
Total number of bytes read made by this instance over the subsequent
calls.
|
Modifier and Type | Method and Description |
---|---|
float |
StatsReader.getIOCharRate(ByteUnit bu)
Returns the read speed of this single instance.
|
double |
StatsReader.getTotalDataRead(ByteUnit unit)
Total number of characters read by this instance over the subsequent
calls.
|
Copyright © 2008–2016. All rights reserved.