Lab7
This commit is contained in:
@@ -19,17 +19,12 @@ public class ReadFileFromWeb1 {
|
||||
String URLString;
|
||||
try {
|
||||
URLinput = new Scanner(System.in).nextLine();
|
||||
URLinput = "";
|
||||
//URLinput = "";
|
||||
if (URLinput.isEmpty()) {
|
||||
URLString = "https://calebfontenot.com";
|
||||
} else {
|
||||
URLString = URLinput;
|
||||
}
|
||||
try {
|
||||
} catch (Exception ex) {
|
||||
System.out.println(ex);
|
||||
URLString = "https://calebfontenot.com";
|
||||
}
|
||||
|
||||
java.net.URL url = new java.net.URL(URLString);
|
||||
int count = 0, divCount = 0, pCount = 0;
|
||||
|
Reference in New Issue
Block a user