|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbt747.sys.File
public class File
Field Summary | |
---|---|
static int |
CREATE
Create the file and open as write. |
static int |
DONT_OPEN
Mode: Do not open the file. |
static int |
READ_ONLY
Mode: Opens the file as read only. |
static int |
READ_WRITE
Mode: Open the file as read+write - avoid. |
static char |
separatorChar
|
static java.lang.String |
separatorStr
|
static int |
WRITE_ONLY
Mode: Opent the file as write only, append. |
Constructor Summary | |
---|---|
File(BT747Path path)
|
|
File(BT747Path path,
int mode)
|
Method Summary | |
---|---|
boolean |
close()
|
boolean |
createDir()
|
boolean |
delete()
|
boolean |
exists()
|
int |
getLastError()
|
int |
getModificationTime()
|
java.lang.String |
getPath()
|
int |
getSize()
|
static boolean |
isAvailable()
|
boolean |
isOpen()
|
int |
readBytes(byte[] b,
int off,
int len)
|
int |
writeBytes(byte[] b,
int off,
int len)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DONT_OPEN
public static final int READ_ONLY
public static final int WRITE_ONLY
public static final int READ_WRITE
public static final int CREATE
public static final char separatorChar
public static final java.lang.String separatorStr
Constructor Detail |
---|
public File(BT747Path path)
public File(BT747Path path, int mode)
Method Detail |
---|
public final int getSize()
public final boolean exists()
public final boolean delete()
public final boolean createDir()
public static final boolean isAvailable()
public final boolean close()
public final boolean isOpen()
public final int writeBytes(byte[] b, int off, int len)
public final int readBytes(byte[] b, int off, int len)
public final java.lang.String getPath()
public final int getLastError()
public final int getModificationTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |