this.name = name;
File thisFile = new File( name );
if ( thisFile.exists() ){
if ( thisFile.isDirectory() ){
this.isDirectory = true;
} else {
// try to open it as a zip file.
// if the open succeeds, it is a zip file.
// else we are in error.
try {
this.zipfile = new ZipFile( thisFile );
this.isZip = true;
}catch( java.io.IOException e ){
return;
}
}
}
//
// else it is none of the above.
// this is an error.
// we do not prevent putting erroneous components
// on the path.
//