INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "To provide support for accessing the individual components", "of an arbitrary path name."
copyright: "(c) Object Tools, 1997-2003"
version: "$Revision: 1.1 $"
cluster: gargs
class FILE_NAME
creation

make,
make_path
feature -- Initialization

make (path: STRING)
-- Initialize from the characters of 'path'.

make_path (path_drive, path_dir, path_fname, path_extension: STRING)
-- Creates a single path and stores it in 'full_path'.
feature -- Status Report

has_drive: BOOLEAN
-- Does 'full_path' include 'drive' ?

has_directory: BOOLEAN
-- Does 'full_path' include 'directory' ?

has_filename: BOOLEAN
-- Does 'full_path' include 'filename' ?

has_extension: BOOLEAN
-- Does 'full_path' include 'extension' ?

has_wildcards: BOOLEAN
-- Does 'full_path' include wildcards ?
feature -- Access

full_path: STRING

drive: STRING
-- Drive component; Void if none.

directory: STRING
-- Directory component; Void if none.

filename: STRING
-- Filename component; Void if none.

extension: STRING
-- Extension component; Void if none.

drive_dir: STRING
-- Drive and Directory; Void if none

filename_ext: STRING
-- Filename and Extension; Void if none
end -- class FILE_NAME

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES