|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclarion.clarion.runtime.CFile
public class CFile
| Field Summary | |
|---|---|
static java.io.File |
pwd
|
| Constructor Summary | |
|---|---|
CFile()
|
|
| Method Summary | |
|---|---|
static void |
copyFile(java.lang.String src,
java.lang.String target)
|
static void |
deleteFile(java.lang.String filename)
Delete specified file |
static void |
getDirectoryListing(ClarionQueue queue,
java.lang.String dir,
int mode)
Dump directory contents into specified queue queue format is: (opt) long name name date time size attributes attribute bitmask is readonly : 1 hidden : 2 system : 4 directory : 16 archive : 32 |
static ClarionString |
getPath()
Get current path |
static ClarionString |
getShortPath(java.lang.String path)
Get DOS path from long path |
static boolean |
isFile(java.lang.String filename)
Check if file exists |
static java.io.File |
resolveFile(java.lang.String dir)
|
static void |
setPath(java.lang.String path)
Set current path |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.io.File pwd
| Constructor Detail |
|---|
public CFile()
| Method Detail |
|---|
public static ClarionString getPath()
public static ClarionString getShortPath(java.lang.String path)
path -
public static void setPath(java.lang.String path)
path - public static void deleteFile(java.lang.String filename)
filename -
public static void copyFile(java.lang.String src,
java.lang.String target)
public static boolean isFile(java.lang.String filename)
filename -
public static void getDirectoryListing(ClarionQueue queue,
java.lang.String dir,
int mode)
queue - dir - mode - public static java.io.File resolveFile(java.lang.String dir)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||