org.kde.qt
Class QFileInfo

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

public class QFileInfo
extends java.lang.Object
implements QtSupport


Field Summary
static int ExeGroup
           
static int ExeOther
           
static int ExeOwner
           
static int ExeUser
           
static int ReadGroup
           
static int ReadOther
           
static int ReadOwner
           
static int ReadUser
           
static int WriteGroup
           
static int WriteOther
           
static int WriteOwner
           
static int WriteUser
           
 
Constructor Summary
  QFileInfo()
           
protected QFileInfo(java.lang.Class dummy)
           
  QFileInfo(QDir arg1, java.lang.String fileName)
           
  QFileInfo(QFile arg1)
           
  QFileInfo(QFileInfo arg1)
           
  QFileInfo(java.lang.String file)
           
 
Method Summary
 java.lang.String absFilePath()
           
 java.lang.String baseName()
           
 java.lang.String baseName(boolean complete)
           
 boolean caching()
           
 boolean convertToAbs()
           
 java.util.Calendar created()
           
 QDir dir()
           
 QDir dir(boolean absPath)
           
 java.lang.String dirPath()
           
 java.lang.String dirPath(boolean absPath)
           
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
 boolean exists()
           
 java.lang.String extension()
           
 java.lang.String extension(boolean complete)
           
 java.lang.String fileName()
           
 java.lang.String filePath()
           
protected  void finalize()
          Deletes the wrapped C++ instance
 java.lang.String group()
           
 int groupId()
           
 boolean isDir()
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 boolean isExecutable()
           
 boolean isFile()
           
 boolean isHidden()
           
 boolean isReadable()
           
 boolean isRelative()
           
 boolean isSymLink()
           
 boolean isWritable()
           
 java.util.Calendar lastModified()
           
 java.util.Calendar lastRead()
           
 java.lang.String owner()
           
 int ownerId()
           
 boolean permission(int permissionSpec)
           
 java.lang.String readLink()
           
 void refresh()
           
 void setCaching(boolean arg1)
           
 void setFile(QDir arg1, java.lang.String fileName)
           
 void setFile(QFile arg1)
           
 void setFile(java.lang.String file)
           
 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

ReadUser

public static final int ReadUser
See Also:
Constant Field Values

WriteUser

public static final int WriteUser
See Also:
Constant Field Values

ExeUser

public static final int ExeUser
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

QFileInfo

protected QFileInfo(java.lang.Class dummy)

QFileInfo

public QFileInfo()

QFileInfo

public QFileInfo(java.lang.String file)

QFileInfo

public QFileInfo(QFile arg1)

QFileInfo

public QFileInfo(QDir arg1,
                 java.lang.String fileName)

QFileInfo

public QFileInfo(QFileInfo arg1)
Method Detail

setFile

public void setFile(java.lang.String file)

setFile

public void setFile(QFile arg1)

setFile

public void setFile(QDir arg1,
                    java.lang.String fileName)

exists

public boolean exists()

refresh

public void refresh()

caching

public boolean caching()

setCaching

public void setCaching(boolean arg1)

filePath

public java.lang.String filePath()

fileName

public java.lang.String fileName()

absFilePath

public java.lang.String absFilePath()

baseName

public java.lang.String baseName(boolean complete)

baseName

public java.lang.String baseName()

extension

public java.lang.String extension(boolean complete)

extension

public java.lang.String extension()

dirPath

public java.lang.String dirPath(boolean absPath)

dirPath

public java.lang.String dirPath()

dir

public QDir dir(boolean absPath)

dir

public QDir dir()

isReadable

public boolean isReadable()

isWritable

public boolean isWritable()

isExecutable

public boolean isExecutable()

isHidden

public boolean isHidden()

isRelative

public boolean isRelative()

convertToAbs

public boolean convertToAbs()

isFile

public boolean isFile()

isDir

public boolean isDir()

isSymLink

public boolean isSymLink()

readLink

public java.lang.String readLink()

owner

public java.lang.String owner()

ownerId

public int ownerId()

group

public java.lang.String group()

groupId

public int groupId()

permission

public boolean permission(int permissionSpec)

size

public long size()

created

public java.util.Calendar created()

lastModified

public java.util.Calendar lastModified()

lastRead

public java.util.Calendar lastRead()

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?