Namespace: OpenEdge.DataAdmin.Core
Class
FileUtil
Parent classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object

/* Copyright (c) 2012-2016 by Progress Software Corporation.
/*
/* All rights reserved. No part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from Progress Software Corporation.
File:FileUtil
Purpose:check
Author(s):hdaniels
Created:Sat Mar 31 17:50:38 EDT 2012




Method Summary
Options Name Purpose
INTEGER CreateDirectoryIf (character) /* ValidFile */
CHARACTER GetFileName (character)
CHARACTER GetPath (character)
CHARACTER GetValidDirectory (character)
CHARACTER GetValidDirectory (character, character) /* CreateDirectoryIf */
CHARACTER GetValidDirectory (character, character, log)
CHARACTER GetValidDirectory (character, log)
LOGICAL isRelativePath (character)
LOGICAL IsValidDirectory (character) /** check of the directory exists - does NOT search propath for relative paths */
IsValidFile (character) /* ValidDirectory */


Method Detail
Top

INTEGER CreateDirectoryIf (character)

/* ValidFile
Parameters:
pDirectory CHARACTER
Returns INTEGER
Top

CHARACTER GetFileName (character)

Parameters:
pFullName CHARACTER
Returns CHARACTER
Top

CHARACTER GetPath (character)

Parameters:
pFullName CHARACTER
Returns CHARACTER
Top

CHARACTER GetValidDirectory (character)

Parameters:
pcPath CHARACTER
Returns CHARACTER
Top

CHARACTER GetValidDirectory (character, character)

/* CreateDirectoryIf
Parameters:
pcPath CHARACTER
pcchild CHARACTER
Returns CHARACTER
Top

CHARACTER GetValidDirectory (character, character, log)

Parameters:
pcPath CHARACTER
pcChild CHARACTER
plMustExist LOGICAL
Returns CHARACTER
Top

CHARACTER GetValidDirectory (character, log)

Parameters:
pcPath CHARACTER
plMustExist LOGICAL
Returns CHARACTER
Top

LOGICAL isRelativePath (character)

Parameters:
pcPath CHARACTER
Returns LOGICAL
Top

LOGICAL IsValidDirectory (character)

Purpose: check of the directory exists - does NOT search propath for relative paths
Parameters:
pDirectory CHARACTER
Returns LOGICAL
Top

IsValidFile (character)

/* ValidDirectory
Parameters:
pFile CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15