const OPEN_INPUT = 256
const OPEN_OUTPUT = 512
String directory-of-file String name;
filename
.
String expand-filename String filename relative-to: String directory = nil;
filename
relative to the directory
. If directory
is nil
, expansion is relative to the current working directory.
String express-filename String filename relative-to String directory;
filename
in terms relative to the directory
.
String filename-as-directory String filename;
filename
as the name of a directory.
MutableArray filenames-in-directory String dir_name;
dir_name
.
String locate-file String file along-path Indexed path;
file
somewhere along the path
.
Return nil
if it could not be found.
boolean file-exists String name;
YES
iff the file name
exists.
instance (id) open String name input: boolean input_p = FALSE output: boolean output_p = FALSE flags: int action = 0;
File
.
instance (id) open String name alongPath Indexed path subdir: String subdir1 = nil subsubdir: String subdir2 = nil;
path
. The last element in the
path
is tried first.
For the subdirectories subdir1
and subdir2
, when not nil, the
following attempts are made for a dir
in the path
: dir
,
dir/subdir2
, dir/subdir1
, and dir/subdir1/subdir2
.
void remove String name;
name
.
public String name;
int flags;
protected id init String n flags int f;
String directoryName;
id reopen;
flags
.
OutputStream writeFields OutputStream s;
long length;
long position;
void seek long offset relative: int whence = STREAM_SEEK_SET;