Java: support remote sources in automodel positive example extraction

This commit is contained in:
Stephan Brandauer
2023-09-06 13:37:54 +02:00
parent fcabca4581
commit dff8259e78
13 changed files with 110 additions and 31 deletions

View File

@@ -9,6 +9,7 @@ import java.util.concurrent.atomic.AtomicReference;
import java.util.function.Supplier;
import java.io.File;
import java.nio.file.FileVisitOption;
import java.net.URLConnection;
class Test {
public static void main(String[] args) throws Exception {
@@ -55,4 +56,8 @@ class Test {
// is extracted)
);
}
public static void WebSocketExample(URLConnection c) throws Exception {
c.getInputStream(); // the call is a source example, c is a sink candidate
}
}