Package org.jruby.runtime.load
Class LibrarySearcher
java.lang.Object
org.jruby.runtime.load.LibrarySearcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
protected static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addFeatureToIndex
(String name, IRubyObject featurePath) protected void
addSingleFeatureToIndex
(String key, int beg, int end, IRubyObject featurePath) boolean
featureAlreadyLoaded
(String feature, String[] loading) findLibrary
(String baseName, LoadService.SuffixType suffixType) findLibraryForLoad
(String file) char
findLibraryForRequire
(String file, LibrarySearcher.FoundLibrary[] path) List
<org.jruby.runtime.load.LibrarySearcher.PathEntry> static LoadService.SuffixType
getSuffixTypeForLoad
(String[] fileHolder) static LoadService.SuffixType
getSuffixTypeForRequire
(String[] fileHolder) protected char
static boolean
isLibraryExt
(String file) static boolean
isSourceExt
(String file) protected void
provideFeature
(RubyString name) protected RubyArray
void
tearDown()
-
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()
-