public class UrlTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static long |
fileRead
Stores the bytes read from file.
|
private static long |
netRead
Stores the bytes read from network.
|
| Modifier | Constructor and Description |
|---|---|
private |
UrlTest()
Prevents this class from being instantiated from outside.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
asserts()
The automated tests using assert statements.
|
private static void |
execute()
Executes the test.
|
static void |
main(java.lang.String[] args)
Starts the test.
|
private static int |
read(java.io.InputStream in)
Reads the input stream and returns the number of input bytes.
|
private static long netRead
private static long fileRead
private UrlTest()
private static int read(java.io.InputStream in)
throws java.io.IOException
in - the input streamjava.io.IOException - in case of any errorprivate static void execute()
public static void main(java.lang.String[] args)
args - ignoredpublic static void asserts()
EndSystem
annotation.