FileDocCategorySizeDatePackage
PEFileLayout.javaAPI DocGlassfish v2 API28092Mon Jul 30 15:00:38 BST 2007com.sun.enterprise.admin.servermgmt.pe

PEFileLayout

public class PEFileLayout extends Object

Fields Summary
private static final com.sun.enterprise.util.i18n.StringManager
_strMgr
public static final String
DEFAULT_INSTANCE_NAME
protected final com.sun.enterprise.admin.servermgmt.RepositoryConfig
_config
public static final String
ADDON_DIR
public static final String
CONFIG_DIR
public static final String
CONFIG_BACKUP_DIR
public static final String
DOC_ROOT_DIR
public static final String
JAVA_WEB_START_DIR
public static final String
LIB_DIR
public static final String
CLASSES_DIR
public static final String
APPLIBS_DIR
public static final String
EXTLIB_DIR
public static final String
TIMERDB_DIR
public static final String
LOGS_DIR
public static final String
APPS_ROOT_DIR
public static final String
J2EE_APPS_DIR
public static final String
J2EE_MODULES_DIR
public static final String
LIFECYCLE_MODULES_DIR
public static final String
MBEAN_FOLDER_NAME
public static final String
GENERATED_DIR
public static final String
POLICY_DIR
public static final String
POLICY_FILE_EXT
public static final String
JSP_DIR
public static final String
EJB_DIR
public static final String
XML_DIR
public static final String
DOMAIN_XML_FILE
public static final String
IMQ
public static final String
JBI_DIR
public static final String
JBI_LIB_DIR
public static final String
JBI_LIB_INSTALL_DIR
public static final String
JBI_TEMPLATE_DIR
public static final String
JBI_TEMPLATE_FILE
public static final String
JBI_INSTANCE_DIR
public static final String
JBI_COMPONENTS_DIR
public static final String
JAVAEE_SE_DIR
public static final String
HTTP_BC_DIR
public static final String
JBI_COMPONENT_WS
public static final String
JBI_SHAREDLIB_DIR
public static final String
JBI_CONFIG_DIR
public static final String
JBI_AUTOINSTALL_DIR
public static final String
JBI_CONFIG_PRIVATE_DIR
public static final String
JBI_REGISTRY_FILE
public static final String
HTTP_BC_CONFIG
public static final String
IMQ_VAR_DIR
public static final String
BIN_DIR
public static final String
SHARE
public static final String
INSTALL_DIR
public static final String
TEMPLATES_DIR
public static final String
PROFILE_PROPERTIES
private static final String
TEMPLATE_CONFIG_XML
public static final String
APPLICATIONS_DIR
public static final String
DATABASES_DIR
public static final String
DTDS_DIR
public static final String
DOMAIN_DTD
public static final String
DOMAIN_XML_TEMPLATE
public static final String
IMQBROKERD_UNIX
public static final String
IMQBROKERD_WIN
public static final String
IMQBROKERD
public static final String
START_SERV_UNIX
public static final String
START_SERV_WIN
public static final String
START_SERV_OS
public static final String
START_SERV_TEMPLATE_UNIX
public static final String
START_SERV_TEMPLATE_WIN
public static final String
START_SERV_TEMPLATE_OS
public static final String
STOP_SERV_UNIX
public static final String
STOP_SERV_WIN
public static final String
STOP_SERV_OS
public static final String
KILL_SERV_UNIX
public static final String
KILL_SERV_WIN
public static final String
KILL_SERV_OS
public static final String
STOP_SERV_TEMPLATE_UNIX
public static final String
STOP_SERV_TEMPLATE_WIN
public static final String
STOP_SERV_TEMPLATE_OS
public static final String
POLICY_FILE
public static final String
STUB_FILE
public static final String
SEED_FILE
public static final String
ACC_XML_TEMPLATE
public static final String
ACC_XML
public static final String
SESSION_STORE
public static final String
AUTO_DEPLOY
public static final String
AUTO_DEPLOY_STATUS
public static final String
KEY_FILE_TEMPLATE
public static final String
KEY_FILE
public static final String
ADMIN_KEY_FILE
public static final String
INDEX_FILE
private static final String
LOCALES
private static final String
ENGLISH_INDEX_FILE
public static final String
DEFAULT_WEB_XML
public static final String
LOGIN_CONF
public static final String
WSSSERVERCONFIGOLD
public static final String
WSSSERVERCONFIG
public static final String
KEYSTORE
public static final String
TRUSTSTORE_TEMPLATE
public static final String
TRUSTSTORE
public static final String
MASTERPASSWORD_FILE
public static final String
PASSWORD_ALIAS_KEYSTORE
public static final String
TIMERDB_WAL_TEMPLATE
public static final String
TIMERDB_WAL
public static final String
TIMERDB_DBN_TEMPLATE
public static final String
TIMERDB_DBN
public static final String
DERBY_SQL_FILE
public static final String
EJB_TIMER_TABLE_NAME
public static final String
DERBY_DATABASE_DIRECTORY
public static final String
JBI_COMPONENTS
public static final String
HTTP_BC_ARCHIVE
public static final String
JBI_COMPONENTS_INSTALL_ROOT
public static final String
JAVAEE_SE_ARCHIVE
public static final String
JBI_SHARED_LIBRARIES
public static final String
WSDLSL_DIR
public static final String
WSDLSL_ARCHIVE
Constructors Summary
public PEFileLayout(com.sun.enterprise.admin.servermgmt.RepositoryConfig config)



       
        _config = config;
    
Methods Summary
protected voidcreateDirectory(java.io.File dir)

        if (!dir.exists()) {
            try {
                if (!dir.mkdirs()) {
                    throw new RepositoryException(_strMgr.getString("directoryCreationError",
                        dir));
                }
	    } catch (Exception e) {
                throw new RepositoryException(_strMgr.getString("directoryCreationError",
                        dir), e);
            }
        }
    
public voidcreateJBIDirectories()

        createDirectory(getJbiInstanceDir());
    
public voidcreateJBIDomainDirectories()

        createJBIDirectories();
        createDirectory(getJbiAuotoInstallDir());
        createDirectory(getJbiConfigDir());
        createDirectory(getJbiConfigPrivateDir());
        createJbiSystemComponentsLayout();
    
public voidcreateJbiSystemComponentsLayout()
This method is used to create the file layout for JBI system components, HttpSoapBC, JavaEESE, WSDLSL

        try{
            createDirectory(getHttpBcDir());
            createDirectory(getHttpBcInstallRoot());
            createDirectory(getJavaEESEDir());
            createDirectory(getJavaEESEInstallRoot());       
            createDirectory(getWSDLSLDir());
            createDirectory(getWSDLSLInstallRoot());
            createDirectory(getHttpBcWorkSpace());
            createDirectory(getJavaEESEWorkSpace());
        } catch (Exception e)
        {
            throw new RepositoryException(e);
        }
   
public voidcreateRepositoryDirectories()

        createDirectory(getRepositoryRootDir());
        createDirectory(getRepositoryDir());
        createDirectory(getConfigRoot());
        createDirectory(getAddonRoot());
        createDirectory(getDocRoot());
        createDirectory(getJavaWebStartRoot());
        createDirectory(getLibDir());
        createDirectory(getBinDir());
        createDirectory(getClassesDir());
        createDirectory(getExtLibDir());
        createDirectory(getAppLibsDir());
        createDirectory(getLogsDir());
        createDirectory(getGeneratedDir());
        createDirectory(getJspRootDir());
        createDirectory(getEjbRootDir());
        createDirectory(getXmlRootDir());
        createDirectory(getApplicationsRootDir());
        createDirectory(getJ2EEAppsDir());
        createDirectory(getJ2EEModulesDir());
        createDirectory(getLifecycleModulesDir());
        createDirectory(getMbeansDir());
        createDirectory(getSessionStore());
        createDirectory(getAutoDeployDir());
        createDirectory(getAutoDeployStatusDir());
        createDirectory(getTimerDatabaseDir());
    
public voidcreateRepositoryRoot()

        createDirectory(getRepositoryRootDir());
    
public voidcreateWSDLSLInstallRoot()
This method is used to create WSDLSL install root

       createDirectory(getWSDLSLDir());
       createDirectory(getWSDLSLInstallRoot());
    
public java.io.FilegetAddonRoot()

      
    
        return new File(getRepositoryDir(), ADDON_DIR);
    
public java.io.FilegetAdminKeyFile()

      
    
        return new File(getConfigRoot(), ADMIN_KEY_FILE);
    
public java.io.FilegetAppClientContainerXml()

      
    
        return new File(getConfigRoot(), ACC_XML);
    
public java.io.FilegetAppClientContainerXmlTemplate()

      
    
        return new File(getTemplatesDir(), ACC_XML_TEMPLATE);
    
public java.io.FilegetAppLibsDir()

      
    
        return new File(getLibDir(), APPLIBS_DIR);
    
public java.io.FilegetApplicationsRootDir()

      
    
        return new File(getRepositoryDir(), APPS_ROOT_DIR);
    
public java.io.FilegetAutoDeployDir()

      
    
        return new File(getRepositoryDir(), AUTO_DEPLOY);
    
public java.io.FilegetAutoDeployStatusDir()

      
    
        return new File(getAutoDeployDir(), AUTO_DEPLOY_STATUS);
    
public java.io.FilegetBackupKeyFile()

        return new File(getRepositoryBackupRoot(), KEY_FILE);
    
public java.io.FilegetBinDir()

        return new File(getRepositoryDir(), BIN_DIR);
    
java.io.FilegetCanonicalFile(java.io.File f)

        return FileUtils.safeGetCanonicalFile(f);
    
public java.io.FilegetClassesDir()

      
    
        return new File(getLibDir(), CLASSES_DIR);
    
protected com.sun.enterprise.admin.servermgmt.RepositoryConfiggetConfig()

        return _config;
    
public java.io.FilegetConfigRoot()

      
    
        return new File(getRepositoryDir(), CONFIG_DIR);
    
public java.io.FilegetDefaultWebXml()

        return new File(getConfigRoot(), DEFAULT_WEB_XML);
    
public java.io.FilegetDefaultWebXmlTemplate()

      
    
        return new File(getTemplatesDir(), DEFAULT_WEB_XML);
    
public java.io.FilegetDerbyEjbTimerDatabaseDirectory()

       
        return new File(getTimerDatabaseDir(), DERBY_DATABASE_DIRECTORY);
        //this directory must not exist before creating the derby database
    
public java.io.FilegetDerbyEjbTimerSqlFile()

 //comes from sql file
       
	return new File(getInstallDatabasesDir(), DERBY_SQL_FILE);
    
public java.io.FilegetDocRoot()

          
    

        return new File(getRepositoryDir(), DOC_ROOT_DIR);
    
public java.io.FilegetDomainConfigBackupFile()

        return new File(getRepositoryBackupRoot(), DOMAIN_XML_FILE);
    
public java.io.FilegetDomainConfigFile()

      
    
        return new File(getConfigRoot(), DOMAIN_XML_FILE);
    
public java.io.FilegetDomainXmlTemplate()

      
    
        return new File(getTemplatesDir(), DOMAIN_XML_TEMPLATE);
    
public java.io.FilegetDomainXmlTemplate(java.lang.String templateName)

        // check to see if the user has specified a template file to be used for
        // domain creation. Assumed that the user specified template file
        // exists in the INSTALL_ROOT/lib/install/templates if path is not absolute.
        if(new File(templateName).isAbsolute())
            return new File(templateName);
        else
            return new File(getTemplatesDir(), templateName);
    
public java.io.FilegetDtdFile()

      
    
        return new File(getDtdsDir(), DOMAIN_DTD);
    
public java.io.FilegetDtdsDir()

      
    
        final File lib = new File(getInstallRootDir(), LIB_DIR);
        return new File(lib, DTDS_DIR);
    
public java.io.FilegetEjbRootDir()

      
    
        return new File(getGeneratedDir(), EJB_DIR);
    
public java.io.FilegetEnglishIndexFile()

       
        return new File(getDocRoot(), ENGLISH_INDEX_FILE);
    
public java.io.FilegetExtLibDir()

      
    
        return new File(getLibDir(), EXTLIB_DIR);
    
public java.io.FilegetGeneratedDir()

      
    
        return new File(getRepositoryDir(), GENERATED_DIR);
    
public java.io.FilegetHttpBcArchiveDestination()

        return new File(getHttpBcDir(), HTTP_BC_ARCHIVE);
    
public java.io.FilegetHttpBcArchiveSource()

      
    
        File bcDir = new File(getJbiComponents(), HTTP_BC_DIR);
        return new File (bcDir, HTTP_BC_ARCHIVE);
    
public java.io.FilegetHttpBcConfigFile()

        return new File(getHttpBcWorkSpace(), HTTP_BC_CONFIG);
    
public java.io.FilegetHttpBcConfigTemplate()

      
    
        return new File(getJbiTemplateDir(), HTTP_BC_CONFIG);
    
public java.io.FilegetHttpBcDir()

      
    
        return new File(getJbiComponentsDir(), HTTP_BC_DIR);
    
public java.io.FilegetHttpBcInstallRoot()

      
    
        return new File(getHttpBcDir(), JBI_COMPONENTS_INSTALL_ROOT);
    
public java.io.FilegetHttpBcWorkSpace()

        return new File(getHttpBcDir(), JBI_COMPONENT_WS);
    
public java.io.FilegetImqBinDir()

      
    
        return new File(getImqDir(), BIN_DIR);
    
public java.io.FilegetImqBrokerExecutable()

      
    
        return new File(getImqBinDir(), IMQBROKERD);
    
public java.io.FilegetImqDir()

      
    
        return new File(getInstallRootDir(), IMQ);
    
public java.io.FilegetImqLibDir()

        return new File(getImqDir(), LIB_DIR);
    
public java.io.FilegetImqVarHome()

      
    
        return new File(getRepositoryDir(), IMQ_VAR_DIR);
    
public java.io.FilegetIndexFile()

        return new File(getDocRoot(), INDEX_FILE);
    
public java.io.FilegetIndexFileTemplate()

      
    
        return new File(getTemplatesDir(), INDEX_FILE);
    
public java.io.FilegetInstallApplicationsDir()

      
    
        final File lib = new File(getInstallRootDir(), LIB_DIR);
        final File install = new File(lib, INSTALL_DIR);
        return new File(install, APPLICATIONS_DIR);
    
public java.io.FilegetInstallConfigRoot()

        return new File(getInstallRootDir(), CONFIG_DIR);
    
public java.io.FilegetInstallDatabasesDir()

      
    
        final File lib = new File(getInstallRootDir(), LIB_DIR);
        final File install = new File(lib, INSTALL_DIR);
        return new File(install, DATABASES_DIR);
    
public java.io.FilegetInstallRootDir()

        return getCanonicalFile(new File(getConfig().getInstallRoot()));
    
public java.io.FilegetJ2EEAppsDir()

      
    
        return new File(getApplicationsRootDir(), J2EE_APPS_DIR);
    
public java.io.FilegetJ2EEModulesDir()

      
    
        return new File(getApplicationsRootDir(), J2EE_MODULES_DIR);
    
public java.io.FilegetJavaEESEArchiveDestination()

        return new File(getJavaEESEDir(), JAVAEE_SE_ARCHIVE);
    
public java.io.FilegetJavaEESEArchiveSource()

      
    
        File seDir = new File(getJbiComponents(), JAVAEE_SE_DIR);
        return new File (seDir, JAVAEE_SE_ARCHIVE);
    
public java.io.FilegetJavaEESEDir()

      
    
        return new File(getJbiComponentsDir(), JAVAEE_SE_DIR);
    
public java.io.FilegetJavaEESEInstallRoot()

        return new File(getJavaEESEDir(), JBI_COMPONENTS_INSTALL_ROOT);
    
public java.io.FilegetJavaEESEWorkSpace()

      
    
        return new File(getJavaEESEDir(), JBI_COMPONENT_WS);
    
public java.io.FilegetJavaWebStartRoot()

          
    

        return new File(getRepositoryDir(), JAVA_WEB_START_DIR);
    
public java.io.FilegetJbiAuotoInstallDir()

      
    
        return new File(getJbiInstanceDir(), JBI_AUTOINSTALL_DIR);
    
public java.io.FilegetJbiComponents()

      
    
        return new File(getJbiDir(), JBI_COMPONENTS);
    
public java.io.FilegetJbiComponentsDir()

      
    
        return new File(getJbiInstanceDir(), JBI_COMPONENTS_DIR);
    
public java.io.FilegetJbiConfigDir()

      
    
        return new File(getJbiInstanceDir(), JBI_CONFIG_DIR);
    
public java.io.FilegetJbiConfigPrivateDir()

      
    
        return new File(getJbiConfigDir(), JBI_CONFIG_PRIVATE_DIR);
    
public java.io.FilegetJbiDir()

      
    
        return new File(getInstallRootDir(), JBI_DIR);
    
public java.io.FilegetJbiInstanceDir()

      
    
        return new File(getRepositoryDir(), JBI_INSTANCE_DIR);
    
public java.io.FilegetJbiLibDir()

      
    
        return new File(getJbiDir(), JBI_LIB_DIR);
    
public java.io.FilegetJbiLibInstallDir()

      
    
        return new File(getJbiLibDir(), JBI_LIB_INSTALL_DIR);
    
public java.io.FilegetJbiRegistryFile()

      
    
        return new File(getJbiConfigDir(), JBI_REGISTRY_FILE);
    
public java.io.FilegetJbiSharedLibDir()

      
    
        return new File(getJbiInstanceDir(), JBI_SHAREDLIB_DIR);
    
public java.io.FilegetJbiSharedLibraries()

      
    
        return new File(getJbiDir(), JBI_SHARED_LIBRARIES);
    
public java.io.FilegetJbiTemplateDir()

      
    
        return new File(getJbiLibInstallDir(), JBI_TEMPLATE_DIR);
    
public java.io.FilegetJbiTemplateFile()

      
    
        return new File(getJbiTemplateDir(), JBI_TEMPLATE_FILE);
    
public java.io.FilegetJspRootDir()

      
    
        return new File(getGeneratedDir(), JSP_DIR);
    
public java.io.FilegetKeyFile()

      
    
        return new File(getConfigRoot(), KEY_FILE);
    
public java.io.FilegetKeyFileTemplate()

      
    
        return new File(getTemplatesDir(), KEY_FILE_TEMPLATE);
    
public java.io.FilegetKeyStore()

      
    
        return new File(getConfigRoot(), KEYSTORE);
    
public java.io.FilegetKillServ()


      
    
        return new File(getBinDir(), KILL_SERV_OS);
    
public java.io.FilegetKillServTemplate()

        return new File(getTemplatesDir(), KILL_SERV_OS);
    
public java.io.FilegetLibDir()

      
    
        return new File(getRepositoryDir(), LIB_DIR);
    
public java.io.FilegetLifecycleModulesDir()

      
    
        return new File(getApplicationsRootDir(), LIFECYCLE_MODULES_DIR);
    
public java.io.FilegetLoginConf()

        return new File(getConfigRoot(), LOGIN_CONF);
    
public java.io.FilegetLoginConfTemplate()

      
    
        return new File(getTemplatesDir(), LOGIN_CONF);
    
public java.io.FilegetLogsDir()

      
    
        return new File(getRepositoryDir(), LOGS_DIR);
    
public java.io.FilegetMasterPasswordFile()

      
    
        return new File(getRepositoryDir(), MASTERPASSWORD_FILE);
    
public java.io.FilegetMbeansDir()

      
    
        return new File(getApplicationsRootDir(), MBEAN_FOLDER_NAME);
    
public java.io.FilegetNonEnglishIndexFileTemplate(java.util.Locale locale)

        
        File locales = new File (getTemplatesDir(), LOCALES);
        File givenLocale = new File (locales, locale.toString());
        return new File (givenLocale, INDEX_FILE);
    
public java.io.FilegetPasswordAliasKeystore()

      
    
        return new File(getConfigRoot(), PASSWORD_ALIAS_KEYSTORE);
    
public java.io.FilegetPolicyDir()

      
    
        return new File(getGeneratedDir(), POLICY_DIR);
    
public java.io.FilegetPolicyFile()

        return new File(getConfigRoot(), POLICY_FILE);
    
public java.io.FilegetPolicyFileTemplate()

      
    
        return new File(getTemplatesDir(), POLICY_FILE);
    
public java.io.FilegetPreExistingDomainXmlTemplateForProfile(java.lang.String profileName)

        return ( new File (getProfileFolder(profileName), DOMAIN_XML_FILE) );
    
public java.io.FilegetProfileFolder(java.lang.String profileName)

        assert profileName != null : "Name of the profile can't be null";
        final File pf = new File(getTemplatesDir(), profileName);
        return pf;
    
public java.io.FilegetProfilePropertiesFile(java.lang.String profileName)

        return ( new File (getProfileFolder(profileName), PROFILE_PROPERTIES) );
    
public java.io.FilegetRepositoryBackupRoot()

      
    
        return new File(getConfigRoot(), CONFIG_BACKUP_DIR);
    
public java.io.FilegetRepositoryDir()

        return new File(getRepositoryRootDir(), getConfig().getRepositoryName());
    
public java.io.FilegetRepositoryRootDir()

        return getCanonicalFile(new File(getConfig().getRepositoryRoot()));
    
public java.io.FilegetSeedFile()

      
    
        return new File(getConfigRoot(), SEED_FILE);
    
public java.io.FilegetSessionStore()

      
    
        return new File(getRepositoryDir(), SESSION_STORE);
    
public java.io.FilegetShareDir()

      
    
        return new File(getInstallRootDir(), SHARE);
    
public java.io.FilegetStartServ()

      
    
        return new File(getBinDir(), START_SERV_OS);
    
public java.io.FilegetStartServTemplate()


      
    
        return new File(getTemplatesDir(), START_SERV_TEMPLATE_OS);
    
public java.io.FilegetStopServ()


      
    
        return new File(getBinDir(), STOP_SERV_OS);
    
public java.io.FilegetStopServTemplate()

      
    
        return new File(getTemplatesDir(), STOP_SERV_TEMPLATE_OS);
    
public java.io.FilegetStubFile()

      
    
        return new File(getConfigRoot(), STUB_FILE);
    
public java.io.FilegetTemplateConfigXml()

        return ( new File(getTemplatesDir(), TEMPLATE_CONFIG_XML) );
    
public java.io.FilegetTemplatesDir()

    
      
    
        final File lib = new File(getInstallRootDir(), LIB_DIR);
        final File install = new File(lib, INSTALL_DIR);
        final File templates = new File(install, TEMPLATES_DIR);
        return templates;
    
public java.io.FilegetTimerDatabaseDir()

      
    
        return new File(getLibDir(), TIMERDB_DIR);
    
public java.io.FilegetTimerDbn()

       
	return new File(getTimerDatabaseDir(), TIMERDB_DBN);
    
public java.io.FilegetTimerDbnTemplate()

       
	return new File(getInstallDatabasesDir(), TIMERDB_DBN_TEMPLATE);
    
public java.io.FilegetTimerWal()

       
	return new File(getTimerDatabaseDir(), TIMERDB_WAL);
    
public java.io.FilegetTimerWalTemplate()

       
	return new File(getInstallDatabasesDir(), TIMERDB_WAL_TEMPLATE);
    
public java.io.FilegetTrustStore()

      
    
        return new File(getConfigRoot(), TRUSTSTORE);
    
public java.io.FilegetTrustStoreTemplate()

      
    
        return new File(getTemplatesDir(), TRUSTSTORE_TEMPLATE);
    
public java.io.FilegetWSDLSLArchiveDestination()

        return new File(getWSDLSLDir(), WSDLSL_ARCHIVE);
    
public java.io.FilegetWSDLSLArchiveSource()

      
    
        File slDir = new File(getJbiSharedLibraries(), WSDLSL_DIR);
        return new File (slDir, WSDLSL_ARCHIVE);
    
public java.io.FilegetWSDLSLDir()

      
    
        return new File(getJbiSharedLibDir(), WSDLSL_DIR);
    
public java.io.FilegetWSDLSLInstallRoot()

        return new File(getWSDLSLDir(), JBI_COMPONENTS_INSTALL_ROOT);
    
public java.io.FilegetWebServicesLibDir()

        return new File(getShareDir(), LIB_DIR);
    
public java.io.FilegetWssServerConfig()

        return new File(getConfigRoot(), WSSSERVERCONFIG);
    
public java.io.FilegetWssServerConfigOld()

        return new File(getConfigRoot(), WSSSERVERCONFIGOLD);
    
public java.io.FilegetWssServerConfigOldTemplate()

      
    
        return new File(getTemplatesDir(), WSSSERVERCONFIGOLD);
    
public java.io.FilegetWssServerConfigTemplate()

      
    
        return new File(getTemplatesDir(), WSSSERVERCONFIG);
    
public java.io.FilegetXmlRootDir()

      
    
        return new File(getGeneratedDir(), XML_DIR);
    
protected static booleanisWindows()

	return OS.isWindows();