gov.nih.nlm.nls.lvg.Util.Platform Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lvg2010dist Show documentation
Show all versions of lvg2010dist Show documentation
LVG tools is used by Apache cTAKES.
The newest version!
package gov.nih.nlm.nls.lvg.Util;
/*****************************************************************************
* This class represents character related methods.
*
* History:
*
* @author NLM NLS Development Team
*
* @version V-2010
****************************************************************************/
public class Platform
{
private Platform()
{
}
// public methods
/*
* This method detects if the plaform is a windows bases OS or not.
*
* @return true if the platform is a window based OS.
*/
public static final boolean IsWindow()
{
boolean flag = false;
String osName = System.getProperty("os.name");
if(osName.toLowerCase().indexOf("windows") > -1)
{
flag = true;
}
return flag;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy