org.kde.qt

Class QFile

public class QFile extends QIODevice

Constructor Summary
protected QFile(Class dummy)
QFile()
QFile(String name)
Method Summary
longat()
booleanat(long arg1)
booleanatEnd()
voidclose()
static StringdecodeName(String localFileName)
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
static StringencodeName(String fileName)
StringerrorString()
booleanexists()
static booleanexists(String fileName)
protected voidfinalize()
Deletes the wrapped C++ instance
voidflush()
intgetch()
inthandle()
booleanisDisposed()
Has the wrapped C++ instance been deleted?
Stringname()
booleanopen(int arg1)
booleanopen(int arg1, int arg2)
intputch(int arg1)
longreadBlock(StringBuffer data, long len)
longreadLine(String data, long maxlen)
longreadLine(StringBuffer arg1, long maxlen)
booleanremove()
static booleanremove(String fileName)
protected voidsetErrorString(String arg1)
voidsetName(String name)
longsize()
intungetch(int arg1)
longwriteBlock(String data, long len)
longwriteBlock(byte[] data)

Constructor Detail

QFile

protected QFile(Class dummy)

QFile

public QFile()

QFile

public QFile(String name)

Method Detail

at

public long at()

at

public boolean at(long arg1)

atEnd

public boolean atEnd()

close

public void close()

decodeName

public static String decodeName(String localFileName)

dispose

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

encodeName

public static String encodeName(String fileName)

errorString

public String errorString()

exists

public boolean exists()

exists

public static boolean exists(String fileName)

finalize

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

flush

public void flush()

getch

public int getch()

handle

public int handle()

isDisposed

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

name

public String name()

open

public boolean open(int arg1)

open

public boolean open(int arg1, int arg2)

putch

public int putch(int arg1)

readBlock

public long readBlock(StringBuffer data, long len)

readLine

public long readLine(String data, long maxlen)

readLine

public long readLine(StringBuffer arg1, long maxlen)

remove

public boolean remove()

remove

public static boolean remove(String fileName)

setErrorString

protected void setErrorString(String arg1)

setName

public void setName(String name)

size

public long size()

ungetch

public int ungetch(int arg1)

writeBlock

public long writeBlock(String data, long len)

writeBlock

public long writeBlock(byte[] data)