org.kde.qt

Class QUrlInfo

public class QUrlInfo extends Object implements QtSupport

Field Summary
static intExeGroup
static intExeOther
static intExeOwner
static intReadGroup
static intReadOther
static intReadOwner
static intWriteGroup
static intWriteOther
static intWriteOwner
Constructor Summary
protected QUrlInfo(Class dummy)
QUrlInfo()
QUrlInfo(QUrlOperator path, String file)
QUrlInfo(QUrlInfo ui)
QUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable)
QUrlInfo(QUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable)
Method Summary
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
static booleanequal(QUrlInfo i1, QUrlInfo i2, int sortBy)
protected voidfinalize()
Deletes the wrapped C++ instance
static booleangreaterThan(QUrlInfo i1, QUrlInfo i2, int sortBy)
Stringgroup()
booleanisDir()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
booleanisExecutable()
booleanisFile()
booleanisReadable()
booleanisSymLink()
booleanisValid()
booleanisWritable()
CalendarlastModified()
CalendarlastRead()
static booleanlessThan(QUrlInfo i1, QUrlInfo i2, int sortBy)
Stringname()
booleanop_equals(QUrlInfo i)
Stringowner()
intpermissions()
voidsetDir(boolean b)
voidsetFile(boolean b)
voidsetGroup(String s)
voidsetLastModified(Calendar dt)
voidsetName(String name)
voidsetOwner(String s)
voidsetPermissions(int p)
voidsetReadable(boolean b)
voidsetSize(long size)
voidsetSymLink(boolean b)
voidsetWritable(boolean b)
longsize()

Field Detail

ExeGroup

public static final int ExeGroup

ExeOther

public static final int ExeOther

ExeOwner

public static final int ExeOwner

ReadGroup

public static final int ReadGroup

ReadOther

public static final int ReadOther

ReadOwner

public static final int ReadOwner

WriteGroup

public static final int WriteGroup

WriteOther

public static final int WriteOther

WriteOwner

public static final int WriteOwner

Constructor Detail

QUrlInfo

protected QUrlInfo(Class dummy)

QUrlInfo

public QUrlInfo()

QUrlInfo

public QUrlInfo(QUrlOperator path, String file)

QUrlInfo

public QUrlInfo(QUrlInfo ui)

QUrlInfo

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

QUrlInfo

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

Method Detail

dispose

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

equal

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

finalize

protected void finalize()
Deletes the wrapped C++ instance

greaterThan

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

group

public String group()

isDir

public boolean isDir()

isDisposed

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

isExecutable

public boolean isExecutable()

isFile

public boolean isFile()

isReadable

public boolean isReadable()

isSymLink

public boolean isSymLink()

isValid

public boolean isValid()

isWritable

public boolean isWritable()

lastModified

public Calendar lastModified()

lastRead

public Calendar lastRead()

lessThan

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

name

public String name()

op_equals

public boolean op_equals(QUrlInfo i)

owner

public String owner()

permissions

public int permissions()

setDir

public void setDir(boolean b)

setFile

public void setFile(boolean b)

setGroup

public void setGroup(String s)

setLastModified

public void setLastModified(Calendar dt)

setName

public void setName(String name)

setOwner

public void setOwner(String s)

setPermissions

public void setPermissions(int p)

setReadable

public void setReadable(boolean b)

setSize

public void setSize(long size)

setSymLink

public void setSymLink(boolean b)

setWritable

public void setWritable(boolean b)

size

public long size()