Package org.jruby.util
package org.jruby.util
-
ClassDescriptionA Channel wrapper that will seek to the end of the open file on any write() operations by performing a seek to eof beforehand.Support methods for (native) arrays.ASM helpers for JRuby.NOTE: required to account for ASM calculating stack-map frames in which case it might need to know of JRuby's dynamically loaded classesByteList is simple a collection of bytes in the same way a Java String is a collection of characters.Helpers for working with bytelists.ByteListHelper.Visit<T,
U> Values which are referenced in multiple places.An enum for all "defined?" messages.This class exists as a counterpart to the dir.c file in MRI source.Dir.GlobFunc<T>AGenericMapis simply an abstractjava.util.Mapimplementation for which subclasses really only need to implement the method entryIterator.Use mark to make a safe rewindable cursor.Wrap an IO object in a Channel.AReadableByteChannelwrapper around an IO-like Ruby object.AReadableByteChannelandWritableByteChannelwrapper around an IO-like Ruby object.AWritableByteChannelwrapper around an IO-like Ruby object.This class wraps a IRubyObject in an InputStream.This class wraps a IRubyObject in an OutputStream.Instances of JarCache provides jar index information.Represents a directory in a jar.Represents a file in a jar.This class gets specially loaded directly in the JRubyClassLoader so that we can unregister all JDBC drivers that were loaded/registered.this classloader will be populated dynamically in the following ways:JRuby.runtime.jruby_class_loader.add_url( java.net.URL.new( "file:my.jar" )$CLASSPATH << 'path/to/class/or/resources'require 'some.jar'load 'some.jar'so it is the classloader for ALL the jars used by gems.This file acts as an alternative to NormalizedFile, due to the problems with current working directory.Deprecated.KeyValuePair<K,V> Simple key-value pair object.Created by cmeier on 7/30/15.Memo<T>Deprecated MRI-style recursion guard logic pulled out ofRuby.Deprecated.This class provides a File implementation that normalizes all path separators to forward slashes.Represents a the NUL: device on Windows, which is not a normal file.Represents a class loader designed to load exactly one class.Introduced to allow outlining cases in #packCommon that update both of these values.Perl's Hash implementation.A general purpose reference tracker & reaper utility class.Represents a "regular" file, backed by regular file system.Deprecated.This class hasStrptimeParserand provides methods that are calls from JRuby.Helper methods to make Ruby Strings without the ceremony of manually building the string up.Support for GNU-C output formatters, see: http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.htmlA safer way to parse double valuesA safer way to parse float valuesUtility class to safely access system properties in security-sensitive environments.This mess of a class is what happens when all Java gives you is Runtime.getRuntime().exec().SipHash implementation with hand inlining the SIPROUND.rb_str_tr / rb_str_tr_bangtr_setup_tableThis class is ported from RubyDateFormatter.Format in JRuby 9.1.5.0.This is Java implementation of ext/date/date_strptime.c in Ruby 2.3.1.Ported Date::Format::Bag from lib/ruby/stdlib/date/format.rb in JRuby 9.1.5.0.This class is ported from RubyDateFormatter.Token in JRuby 9.1.5.0.The characters within a Symbol can represent concepts in Ruby.This is utility class to convert given timezone into integer based timezone diff.All this because URL.getPath sucks, and we can't re-open classes in Java ;-).ClassWeakIdentityHashMapis a hash map that hashes objects based on System.identityHashMap, and holds weakly onto the key.A binding of a few key win32 functions we need to behave properly.