org.kde.qt
Class QUrlInfo

java.lang.Object
  extended by org.kde.qt.QUrlInfo
All Implemented Interfaces:
QtSupport

public class QUrlInfo
extends java.lang.Object
implements QtSupport


Field Summary
static int ExeGroup
           
static int ExeOther
           
static int ExeOwner
           
static int ReadGroup
           
static int ReadOther
           
static int ReadOwner
           
static int WriteGroup
           
static int WriteOther
           
static int WriteOwner
           
 
Constructor Summary
  QUrlInfo()
           
protected QUrlInfo(java.lang.Class dummy)
           
  QUrlInfo(QUrlInfo ui)
           
  QUrlInfo(QUrlInterface url, int permissions, java.lang.String owner, java.lang.String group, long size, java.util.Calendar lastModified, java.util.Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable)
           
  QUrlInfo(QUrlOperator path, java.lang.String file)
           
  QUrlInfo(java.lang.String name, int permissions, java.lang.String owner, java.lang.String group, long size, java.util.Calendar lastModified, java.util.Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable)
           
 
Method Summary
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
static boolean equal(QUrlInfo i1, QUrlInfo i2, int sortBy)
           
protected  void finalize()
          Deletes the wrapped C++ instance
static boolean greaterThan(QUrlInfo i1, QUrlInfo i2, int sortBy)
           
 java.lang.String group()
           
 boolean isDir()
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 boolean isExecutable()
           
 boolean isFile()
           
 boolean isReadable()
           
 boolean isSymLink()
           
 boolean isValid()
           
 boolean isWritable()
           
 java.util.Calendar lastModified()
           
 java.util.Calendar lastRead()
           
static boolean lessThan(QUrlInfo i1, QUrlInfo i2, int sortBy)
           
 java.lang.String name()
           
 boolean op_equals(QUrlInfo i)
           
 java.lang.String owner()
           
 int permissions()
           
 void setDir(boolean b)
           
 void setFile(boolean b)
           
 void setGroup(java.lang.String s)
           
 void setLastModified(java.util.Calendar dt)
           
 void setName(java.lang.String name)
           
 void setOwner(java.lang.String s)
           
 void setPermissions(int p)
           
 void setReadable(boolean b)
           
 void setSize(long size)
           
 void setSymLink(boolean b)
           
 void setWritable(boolean b)
           
 long size()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ReadOwner

public static final int ReadOwner
See Also:
Constant Field Values

WriteOwner

public static final int WriteOwner
See Also:
Constant Field Values

ExeOwner

public static final int ExeOwner
See Also:
Constant Field Values

ReadGroup

public static final int ReadGroup
See Also:
Constant Field Values

WriteGroup

public static final int WriteGroup
See Also:
Constant Field Values

ExeGroup

public static final int ExeGroup
See Also:
Constant Field Values

ReadOther

public static final int ReadOther
See Also:
Constant Field Values

WriteOther

public static final int WriteOther
See Also:
Constant Field Values

ExeOther

public static final int ExeOther
See Also:
Constant Field Values
Constructor Detail

QUrlInfo

protected QUrlInfo(java.lang.Class dummy)

QUrlInfo

public QUrlInfo()

QUrlInfo

public QUrlInfo(QUrlOperator path,
                java.lang.String file)

QUrlInfo

public QUrlInfo(QUrlInfo ui)

QUrlInfo

public QUrlInfo(java.lang.String name,
                int permissions,
                java.lang.String owner,
                java.lang.String group,
                long size,
                java.util.Calendar lastModified,
                java.util.Calendar lastRead,
                boolean isDir,
                boolean isFile,
                boolean isSymLink,
                boolean isWritable,
                boolean isReadable,
                boolean isExecutable)

QUrlInfo

public QUrlInfo(QUrlInterface url,
                int permissions,
                java.lang.String owner,
                java.lang.String group,
                long size,
                java.util.Calendar lastModified,
                java.util.Calendar lastRead,
                boolean isDir,
                boolean isFile,
                boolean isSymLink,
                boolean isWritable,
                boolean isReadable,
                boolean isExecutable)
Method Detail

setName

public void setName(java.lang.String name)

setDir

public void setDir(boolean b)

setFile

public void setFile(boolean b)

setSymLink

public void setSymLink(boolean b)

setOwner

public void setOwner(java.lang.String s)

setGroup

public void setGroup(java.lang.String s)

setSize

public void setSize(long size)

setWritable

public void setWritable(boolean b)

setReadable

public void setReadable(boolean b)

setPermissions

public void setPermissions(int p)

setLastModified

public void setLastModified(java.util.Calendar dt)

isValid

public boolean isValid()

name

public java.lang.String name()

permissions

public int permissions()

owner

public java.lang.String owner()

group

public java.lang.String group()

size

public long size()

lastModified

public java.util.Calendar lastModified()

lastRead

public java.util.Calendar lastRead()

isDir

public boolean isDir()

isFile

public boolean isFile()

isSymLink

public boolean isSymLink()

isWritable

public boolean isWritable()

isReadable

public boolean isReadable()

isExecutable

public boolean isExecutable()

op_equals

public boolean op_equals(QUrlInfo i)

greaterThan

public static boolean greaterThan(QUrlInfo i1,
                                  QUrlInfo i2,
                                  int sortBy)

lessThan

public static boolean lessThan(QUrlInfo i1,
                               QUrlInfo i2,
                               int sortBy)

equal

public static boolean equal(QUrlInfo i1,
                            QUrlInfo i2,
                            int sortBy)

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?