| Modifier and Type | Field and Description |
|---|---|
| private final JRubyFile | |
| private transient BasicFileAttributes | |
| private final String | |
| private final POSIX |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | |
| public String | |
| public boolean | |
| public boolean | |
| private Channel | |
| public FileTime | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public FileTime | |
| public long | |
| public FileTime | |
| public long | |
| public String[] | |
| public FileStat | |
| pack-priv static IOException | |
| public Channel | |
| public InputStream | openInputStream()
Implements org. Opens a new input stream to read the contents of a resource and returns it. |
| public String | |
| private BasicFileAttributes | |
| public FileStat | |
| private void | |
| public String | |
| public <T> T | unwrap(Class<T> type)
Implements org. Unwrap the resource backend (replacement for |
| file | back to summary |
|---|---|
| private final JRubyFile file | |
| fileAttributes | back to summary |
|---|---|
| private transient BasicFileAttributes fileAttributes | |
| filePath | back to summary |
|---|---|
| private final String filePath | |
| posix | back to summary |
|---|---|
| private final POSIX posix | |
| RegularFileResource | back to summary |
|---|---|
| pack-priv RegularFileResource(POSIX posix, JRubyFile file, String filePath) | |
| RegularFileResource | back to summary |
|---|---|
| protected RegularFileResource(POSIX posix, String filename) | |
| absolutePath | back to summary |
|---|---|
| public String absolutePath() Implements org.
| |
| canExecute | back to summary |
|---|---|
| public boolean canExecute() Implements org.
| |
| canonicalPath | back to summary |
|---|---|
| public String canonicalPath() Implements org.
| |
| canRead | back to summary |
|---|---|
| public boolean canRead() Implements org.
| |
| canWrite | back to summary |
|---|---|
| public boolean canWrite() Implements org.
| |
| createChannel | back to summary |
|---|---|
| private Channel createChannel(ModeFlags flags) throws IOException | |
| creationTime | back to summary |
|---|---|
| public FileTime creationTime() throws IOException | |
| errno | back to summary |
|---|---|
| public int errno() Implements org. | |
| exists | back to summary |
|---|---|
| public boolean exists() Implements org.
| |
| isDirectory | back to summary |
|---|---|
| public boolean isDirectory() Implements org.
| |
| isFile | back to summary |
|---|---|
| public boolean isFile() Implements org.
| |
| isSymLink | back to summary |
|---|---|
| public boolean isSymLink() Implements org.
| |
| lastAccessTime | back to summary |
|---|---|
| public FileTime lastAccessTime() throws IOException | |
| lastModified | back to summary |
|---|---|
| public long lastModified() Implements org.
| |
| lastModifiedTime | back to summary |
|---|---|
| public FileTime lastModifiedTime() throws IOException | |
| length | back to summary |
|---|---|
| public long length() Implements org.
| |
| list | back to summary |
|---|---|
| public String[] list() Implements org.
| |
| lstat | back to summary |
|---|---|
| public FileStat lstat() Implements org.
| |
| mapFileNotFoundOnGetChannel | back to summary |
|---|---|
| pack-priv static IOException mapFileNotFoundOnGetChannel(final FileResource file, final FileNotFoundException ex) | |
| openChannel | back to summary |
|---|---|
| public Channel openChannel(final int flags, int perm) throws IOException Implements org.
| |
| openInputStream | back to summary |
|---|---|
| public InputStream openInputStream() throws IOException Implements org. Doc from org. 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.
| |
| path | back to summary |
|---|---|
| public String path() Implements org.
| |
| readAttributes | back to summary |
|---|---|
| private BasicFileAttributes readAttributes() throws IOException | |
| stat | back to summary |
|---|---|
| public FileStat stat() Implements org.
| |
| throwFromErrno | back to summary |
|---|---|
| private void throwFromErrno(final int err) throws IOException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Class<T> type) Implements org. Doc from org. Unwrap the resource backend (replacement for
| |