public VersionedFile(String baseDir,String baseName,String suffix){
  if (!baseDir.endsWith(FILE_SEPARATOR)) {
    baseDir+=FILE_SEPARATOR;
  }
  this.baseDir=baseDir;
  this.suffix=suffix;
  this.baseName=baseName;
  resetVersion();
}

public VersionedFile ( String baseDir , String baseName , String suffix ) { if ( ! baseDir . endsWith ( FILE_SEPARATOR ) ) { baseDir += FILE_SEPARATOR ; } this . baseDir = baseDir ; this . suffix = suffix ; this . baseName = baseName ; resetVersion ( ) ; }
creates a new instance based on the given name parameters . the actual complete name ( s ) of the physical file ( s ) will be based on a version number inserted in between , to identify versions .
