Package io.cucumber.core.resource
Class ClasspathSupport
java.lang.Object
io.cucumber.core.resource.ClasspathSupport
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static URIclasspathResourceUri(String classpathResourceName) (package private) static URIclasspathResourceUri(Path resourcePath) static Stringstatic String(package private) static URIdetermineClasspathResourceUri(Path baseDir, String basePackagePath, Path resource) (package private) static StringdetermineFullyQualifiedClassName(Path baseDir, String basePackageName, Path classFile) (package private) static StringdeterminePackageName(Path baseDir, String basePackageName, Path classFile) private static StringdetermineSimpleClassName(Path classFile) private static StringdetermineSubpackageName(Path baseDir, Path resource) private static StringdetermineSubpackagePath(Path baseDir, Path resource) getUrisForPackage(ClassLoader classLoader, String packageName) getUrisForResource(ClassLoader classLoader, String resourceName) (package private) static Stringstatic StringpackageName(URI classpathResourceUri) static StringpackageNameOfResource(String classpathResourceName) (package private) static voidrequireValidPackageName(String packageName) static StringresourceName(URI classpathResourceUri) static StringresourceNameOfPackageName(String packageName) static URI
-
Field Details
-
CLASSPATH_SCHEME
- See Also:
-
CLASSPATH_SCHEME_PREFIX
- See Also:
-
RESOURCE_SEPARATOR_CHAR
public static final char RESOURCE_SEPARATOR_CHAR- See Also:
-
RESOURCE_SEPARATOR_STRING
-
DEFAULT_PACKAGE_NAME
- See Also:
-
CLASS_FILE_SUFFIX
- See Also:
-
PACKAGE_SEPARATOR_CHAR
private static final char PACKAGE_SEPARATOR_CHAR- See Also:
-
PACKAGE_SEPARATOR_STRING
-
DOT_PATTERN
-
-
Constructor Details
-
ClasspathSupport
private ClasspathSupport()
-
-
Method Details
-
requireValidPackageName
-
getUrisForPackage
-
getUrisForResource
-
resourceNameOfPackageName
-
determinePackageName
-
determineSubpackageName
-
determineClasspathResourceUri
-
determineSubpackagePath
-
classpathResourceUri
-
determineFullyQualifiedClassName
-
determineSimpleClassName
-
packageNameOfResource
-
classpathResourceUri
-
packageName
-
resourceName
-
rootPackageUri
-
classPathScanningExplanation
-
nestedJarEntriesExplanation
-
configurationExamples
-