Package org.jruby.runtime.load
Class LibrarySearcher
java.lang.Object
org.jruby.runtime.load.LibrarySearcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFeatureToIndex(String name, IRubyObject featurePath) protected voidaddSingleFeatureToIndex(String key, int beg, int end, IRubyObject featurePath) booleanfeatureAlreadyLoaded(String feature, String[] loading) findLibrary(String baseName, LoadService.SuffixType suffixType) findLibraryForLoad(String file) charfindLibraryForRequire(String file, LibrarySearcher.FoundLibrary[] path) List<org.jruby.runtime.load.LibrarySearcher.PathEntry> static LoadService.SuffixTypegetSuffixTypeForLoad(String[] fileHolder) static LoadService.SuffixTypegetSuffixTypeForRequire(String[] fileHolder) protected charstatic booleanisLibraryExt(String file) static booleanisSourceExt(String file) protected voidprovideFeature(RubyString name) protected RubyArrayvoidtearDown()
-
Field Details
-
EXTENSION_TYPE
public static final char EXTENSION_TYPE- See Also:
-
SOURCE_TYPE
public static final char SOURCE_TYPE- See Also:
-
UNKNOWN_TYPE
public static final char UNKNOWN_TYPE- See Also:
-
NOT_FOUND
public static final char NOT_FOUND- See Also:
-
expandedLoadPath
protected org.jruby.runtime.load.LibrarySearcher.ExpandedLoadPath expandedLoadPath -
loadPath
-
loadedFeaturesSnapshot
-
-
Constructor Details
-
LibrarySearcher
-
-
Method Details
-
getExpandedLoadPath
-
findLibraryForRequire
-
findLibraryForLoad
-
findLibrary
-
getSuffixTypeForRequire
-
getSuffixTypeForLoad
-
isSourceExt
-
isLibraryExt
-
featureAlreadyLoaded
-
provideFeature
-
snapshotLoadedFeatures
-
addFeatureToIndex
-
addSingleFeatureToIndex
-
isFeature
-
tearDown
public void tearDown()
-