org.jruby
Class RubyFileStat.ZipFileStat

java.lang.Object
  extended by org.jruby.RubyFileStat.ZipFileStat
All Implemented Interfaces:
org.jruby.ext.posix.FileStat
Enclosing class:
RubyFileStat

public static class RubyFileStat.ZipFileStat
extends java.lang.Object
implements org.jruby.ext.posix.FileStat


Field Summary
 
Fields inherited from interface org.jruby.ext.posix.FileStat
ALL_READ, ALL_WRITE, S_IFBLK, S_IFCHR, S_IFDIR, S_IFIFO, S_IFLNK, S_IFMT, S_IFREG, S_IFSOCK, S_IRGRP, S_IROTH, S_IRUSR, S_ISGID, S_ISUID, S_ISVTX, S_IWGRP, S_IWOTH, S_IWUSR, S_IXGRP, S_IXOTH, S_IXUGO, S_IXUSR
 
Constructor Summary
RubyFileStat.ZipFileStat(java.util.zip.ZipEntry zipEntry)
           
 
Method Summary
 long atime()
           
 long blocks()
           
 long blockSize()
           
 long ctime()
           
 long dev()
           
 java.lang.String ftype()
           
 int gid()
           
 boolean groupMember(int i)
           
 long ino()
           
 boolean isBlockDev()
           
 boolean isCharDev()
           
 boolean isDirectory()
           
 boolean isEmpty()
           
 boolean isExecutable()
           
 boolean isExecutableReal()
           
 boolean isFifo()
           
 boolean isFile()
           
 boolean isGroupOwned()
           
 boolean isIdentical(org.jruby.ext.posix.FileStat fs)
           
 boolean isNamedPipe()
           
 boolean isOwned()
           
 boolean isReadable()
           
 boolean isReadableReal()
           
 boolean isROwned()
           
 boolean isSetgid()
           
 boolean isSetuid()
           
 boolean isSocket()
           
 boolean isSticky()
           
 boolean isSymlink()
           
 boolean isWritable()
           
 boolean isWritableReal()
           
 int major(long l)
           
 int minor(long l)
           
 int mode()
           
 long mtime()
           
 int nlink()
           
 long rdev()
           
 long st_size()
           
 int uid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyFileStat.ZipFileStat

public RubyFileStat.ZipFileStat(java.util.zip.ZipEntry zipEntry)
Method Detail

atime

public long atime()
Specified by:
atime in interface org.jruby.ext.posix.FileStat

blocks

public long blocks()
Specified by:
blocks in interface org.jruby.ext.posix.FileStat

blockSize

public long blockSize()
Specified by:
blockSize in interface org.jruby.ext.posix.FileStat

ctime

public long ctime()
Specified by:
ctime in interface org.jruby.ext.posix.FileStat

dev

public long dev()
Specified by:
dev in interface org.jruby.ext.posix.FileStat

ftype

public java.lang.String ftype()
Specified by:
ftype in interface org.jruby.ext.posix.FileStat

gid

public int gid()
Specified by:
gid in interface org.jruby.ext.posix.FileStat

groupMember

public boolean groupMember(int i)
Specified by:
groupMember in interface org.jruby.ext.posix.FileStat

ino

public long ino()
Specified by:
ino in interface org.jruby.ext.posix.FileStat

isBlockDev

public boolean isBlockDev()
Specified by:
isBlockDev in interface org.jruby.ext.posix.FileStat

isCharDev

public boolean isCharDev()
Specified by:
isCharDev in interface org.jruby.ext.posix.FileStat

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface org.jruby.ext.posix.FileStat

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface org.jruby.ext.posix.FileStat

isExecutable

public boolean isExecutable()
Specified by:
isExecutable in interface org.jruby.ext.posix.FileStat

isExecutableReal

public boolean isExecutableReal()
Specified by:
isExecutableReal in interface org.jruby.ext.posix.FileStat

isFifo

public boolean isFifo()
Specified by:
isFifo in interface org.jruby.ext.posix.FileStat

isFile

public boolean isFile()
Specified by:
isFile in interface org.jruby.ext.posix.FileStat

isGroupOwned

public boolean isGroupOwned()
Specified by:
isGroupOwned in interface org.jruby.ext.posix.FileStat

isIdentical

public boolean isIdentical(org.jruby.ext.posix.FileStat fs)
Specified by:
isIdentical in interface org.jruby.ext.posix.FileStat

isNamedPipe

public boolean isNamedPipe()
Specified by:
isNamedPipe in interface org.jruby.ext.posix.FileStat

isOwned

public boolean isOwned()
Specified by:
isOwned in interface org.jruby.ext.posix.FileStat

isROwned

public boolean isROwned()
Specified by:
isROwned in interface org.jruby.ext.posix.FileStat

isReadable

public boolean isReadable()
Specified by:
isReadable in interface org.jruby.ext.posix.FileStat

isReadableReal

public boolean isReadableReal()
Specified by:
isReadableReal in interface org.jruby.ext.posix.FileStat

isWritable

public boolean isWritable()
Specified by:
isWritable in interface org.jruby.ext.posix.FileStat

isWritableReal

public boolean isWritableReal()
Specified by:
isWritableReal in interface org.jruby.ext.posix.FileStat

isSetgid

public boolean isSetgid()
Specified by:
isSetgid in interface org.jruby.ext.posix.FileStat

isSetuid

public boolean isSetuid()
Specified by:
isSetuid in interface org.jruby.ext.posix.FileStat

isSocket

public boolean isSocket()
Specified by:
isSocket in interface org.jruby.ext.posix.FileStat

isSticky

public boolean isSticky()
Specified by:
isSticky in interface org.jruby.ext.posix.FileStat

isSymlink

public boolean isSymlink()
Specified by:
isSymlink in interface org.jruby.ext.posix.FileStat

major

public int major(long l)
Specified by:
major in interface org.jruby.ext.posix.FileStat

minor

public int minor(long l)
Specified by:
minor in interface org.jruby.ext.posix.FileStat

mode

public int mode()
Specified by:
mode in interface org.jruby.ext.posix.FileStat

mtime

public long mtime()
Specified by:
mtime in interface org.jruby.ext.posix.FileStat

nlink

public int nlink()
Specified by:
nlink in interface org.jruby.ext.posix.FileStat

rdev

public long rdev()
Specified by:
rdev in interface org.jruby.ext.posix.FileStat

st_size

public long st_size()
Specified by:
st_size in interface org.jruby.ext.posix.FileStat

uid

public int uid()
Specified by:
uid in interface org.jruby.ext.posix.FileStat


Copyright © 2002-2009 JRuby Team. All Rights Reserved.