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.ByteList 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.AGenericMap
is simply an abstractjava.util.Map
implementation 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.AReadableByteChannel
wrapper around an IO-like Ruby object.AReadableByteChannel
andWritableByteChannel
wrapper around an IO-like Ruby object.AWritableByteChannel
wrapper around an IO-like Ruby object.This class wraps a IRubyObject in an InputStream.This class wraps a IRubyObject in an OutputStream.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 class loader designed to load exactly one class.Perl's Hash implementation.A general purpose reference tracker & reaper utility class.Note: Private API that might get removed later.Deprecated.This class hasStrptimeParser
and 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 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 ;-).ClassWeakIdentityHashMap
is 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.