APIdia Launch Partner
Top Fields Constructors Methods
sun.nio.fs

public Class Globs

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

Field Summary

Modifier and TypeField and Description
private static 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)

private static String
toRegexPattern(String globPattern, boolean isDos)

Creates a regex pattern from the given glob expression.

pack-priv static String
pack-priv static String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

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

Constructor Detail

Globsback to summary
private Globs()

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
private static String toRegexPattern(String globPattern, boolean isDos)

Creates a regex pattern from the given glob expression.

toUnixRegexPatternback to summary
pack-priv static String toUnixRegexPattern(String globPattern)
toWindowsRegexPatternback to summary
pack-priv static String toWindowsRegexPattern(String globPattern)