Package | Description |
---|---|
org.jruby.util |
Modifier and Type | Class and Description |
---|---|
static class |
ResourceException.FileExists |
static class |
ResourceException.FileIsDirectory |
static class |
ResourceException.FileIsNotDirectory |
static class |
ResourceException.InvalidArguments |
static class |
ResourceException.IOError
Deprecated.
|
static class |
ResourceException.NotFound |
static class |
ResourceException.PermissionDenied |
static class |
ResourceException.TooManySymlinks |
Modifier and Type | Method and Description |
---|---|
default java.io.InputStream |
FileResource.inputStream()
Deprecated.
Opens a new input stream to read the contents of a resource and returns it.
Note that implementations may be allocating native memory for the stream, so
callers need to close this when they are done with it. users of this
method should follow the pattern: close the stream where you open it.
|
default java.nio.channels.Channel |
FileResource.openChannel(ModeFlags flags,
int perm)
Deprecated.
use
FileResource.openChannel(int, int) instead |
Copyright © 2001-2022 JRuby. All Rights Reserved.