Top Interfaces Classes Enums
[default module]

Package org.jruby.util


Interface Summary

Modifier and TypeInterface and Description
public interface
public interface
public interface
public interface
public interface
FileResource

This is a shared interface for files loaded as java.io.File and java.util.zip.ZipEntry.

public interface
Loader

Created by cmeier on 7/30/15.

public interface
public interface

Class Summary

Modifier and TypeClass and Description
public class
AppendModeChannel

A Channel wrapper that will seek to the end of the open file on any write() operations by performing a seek to eof beforehand.

public abstract class
ArraySupport

Support methods for (native) arrays.

public abstract class
ASM

ASM helpers for JRuby.

public class
ByteList

ByteList is simple a collection of bytes in the same way a Java String is a collection of characters.

public class
ByteListHelper

Helpers for working with bytelists.

public class
public class
public class
public class
public class
public class
CommonByteLists

Values which are referenced in multiple places.

public class
public class
public class
Dir

This class exists as a counterpart to the dir.c file in MRI source.

pack-priv class
pack-priv class
public abstract class
GenericMap

A GenericMap is simply an abstract java.util.Map implementation for which subclasses really only need to implement the method entryIterator.

public class
public class
InputStreamMarkCursor

Use mark to make a safe rewindable cursor.

public class
public abstract class
IOChannel

Wrap an IO object in a Channel.

public class
IOInputStream

This class wraps a IRubyObject in an InputStream.

public class
IOOutputStream

This class wraps a IRubyObject in an OutputStream.

pack-priv class
JarCache

Instances of JarCache provides jar index information.

pack-priv class
JarDirectoryResource

Represents a directory in a jar.

pack-priv class
JarFileResource

Represents a file in a jar.

pack-priv abstract class
public class
public class
JDBCDriverUnloader

This class gets specially loaded directly in the JRubyClassLoader so that we can unregister all JDBC drivers that were loaded/registered.

public class
public class
JRubyClassLoader

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'
public class
JRubyFile

This file acts as an alternative to NormalizedFile, due to the problems with current working directory.

public class
public class
public class
KeyValuePair<
key
K
,
value
V
>

Simple key-value pair object.

public class
Memo<T>

public class
MRIRecursionGuard

Deprecated MRI-style recursion guard logic pulled out of Ruby.

public class
public class
public class
public class
NormalizedFile

This class provides a File implementation that normalizes all path separators to forward slashes.

pack-priv class
NullDeviceResource

Represents a the NUL: device on Windows, which is not a normal file.

public class
public class
OneShotClassLoader

Represents a class loader designed to load exactly one class.

public class
public class
public class
public class
PerlHash

Perl's Hash implementation.

public abstract class
public class
public class
public class
ReferenceReaper

A general purpose reference tracker & reaper utility class.

public class
public class
pack-priv class
RegularFileResource

Represents a "regular" file, backed by regular file system.

public abstract class
ResourceException

Note

Private API that might get removed later.

public class
public class
RubyDateParser

This class has StrptimeParser and provides methods that are calls from JRuby.

public class
public class
RubyStringBuilder

Helper methods to make Ruby Strings without the ceremony of manually building the string up.

public class
RubyTimeOutputFormatter

Support for GNU-C output formatters, see: http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html

public class
pack-priv class
public class
SafeDoubleParser

A safer way to parse double values

Prevents brute force attacks using the famous Java bug.

public class
SafeFloatParser

A safer way to parse float values

Prevents brute force attacks using the famous Java bug.

public class
SafePropertyAccessor

Utility class to safely access system properties in security-sensitive environments.

public abstract class
public class
public class
ShellLauncher

This mess of a class is what happens when all Java gives you is Runtime.getRuntime().exec().

public class
SipHashInline

SipHash implementation with hand inlining the SIPROUND.

public abstract class
public class
public class
public class
StrptimeParser

This is Java implementation of ext/date/date_strptime.c in Ruby 2.3.1.

public class
StrptimeToken

This class is ported from RubyDateFormatter.Token in JRuby 9.1.5.0.

public class
public class
TimeZoneConverter

This is utility class to convert given timezone into integer based timezone diff.

public class
public class
public class
public class
URLUtil

All this because URL.getPath sucks, and we can't re-open classes in Java ;-).

public class
WeakIdentityHashMap

Class WeakIdentityHashMap is a hash map that hashes objects based on System.identityHashMap, and holds weakly onto the key.

public abstract class
public class
WindowsFFI

A binding of a few key win32 functions we need to behave properly.

Enum Summary

Modifier and TypeEnum and Description
public enum
DefinedMessage

An enum for all "defined?" messages.

public enum
pack-priv enum
StrptimeFormat

This class is ported from RubyDateFormatter.Format in JRuby 9.1.5.0.

public enum
SymbolNameType

The characters within a Symbol can represent concepts in Ruby.