APIdia Launch Partner
Top Fields Constructors Methods
jdk.internal.jrtfs

pack-priv final Class JrtUtils

extends Object
Class Inheritance
Imports
java.util.regex.PatternSyntaxException

Implementation Note

This class needs to maintain JDK 8 source compatibility. It is used internally in the JDK to implement jimage/jrtfs access, but also compiled and delivered as part of the jrtfs.jar to support access to the jimage file provided by the shipped JDK by tools running on JDK 8.

Field Summary

Modifier and TypeField and Description
private static final char
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static boolean
isGlobMeta(char c)

private static boolean
isRegexMeta(char c)

private static char
next(String glob, int i)

public static String
toRegexPattern(String globPattern)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EOLback to summary
private static final char EOL
globMetaCharsback to summary
private static final String globMetaChars
regexMetaCharsback to summary
private static final String regexMetaChars

Constructor Detail

JrtUtilsback to summary
private JrtUtils()

Method Detail

isGlobMetaback to summary
private static boolean isGlobMeta(char c)
isRegexMetaback to summary
private static boolean isRegexMeta(char c)
nextback to summary
private static char next(String glob, int i)
toRegexPatternback to summary
public static String toRegexPattern(String globPattern)