public class Scanner extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Scanner.Handler |
static interface |
Scanner.Matcher |
static interface |
Scanner.URLSource |
| Modifier and Type | Field and Description |
|---|---|
static Scanner.URLSource |
defaultSource |
static Scanner.URLSource |
surefireForkSource
check and see if we are running inside a surefire test fork
if so, pull the classpath from the manifest, otherwise return null
|
static Scanner.URLSource |
urlClassloaderSource
assumes we are running in a normal java app, returns the app classloader's urls
|
| Constructor and Description |
|---|
Scanner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
scan(Scanner.Matcher m,
Scanner.Handler h) |
static void |
scan(Scanner.Matcher m,
Scanner.Handler h,
Scanner.URLSource source) |
public static Scanner.URLSource urlClassloaderSource
public static Scanner.URLSource surefireForkSource
public static Scanner.URLSource defaultSource
public static void scan(Scanner.Matcher m, Scanner.Handler h, Scanner.URLSource source)
public static void scan(Scanner.Matcher m, Scanner.Handler h)
Copyright © 2017. All rights reserved.