Skip to main content
Package: com.phoenix_int.aserver.util Class Hierarchy

Declaration
This is a utility class for easily managing file names. The class lets you specify a name, and optionally a base name. If the name fully specifies the file, then the base name is ignored. If not, then the base name may be modified to find the file in different locations. e.g.:
A PHXStringReplacer may be specified for use in forming the fullName. If a replacer is specified, both the name and base name will be passed through it before trying to form the fullName.

Constructor Summary

Method Summary

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PHXFileName

PHXFileName

Method Detail

setStringReplacer

sets the string replacer for the forming the real file name

setName

sets the name for the file

getName

setBaseName

sets the base name for the file. If the file was fully specified, then this function does nothing Parameters:
  • baseName - the new baseName

getBaseName

getFullName

returns the full file name. This is the combination of the base name and name parts, unless the name part is fully specified. In that case it is just the name part.

getFullNameCoded

returns the full file name in coded form, i.e. variables have not been substituted into it.