JAligner

jaligner.util
Class Commons

java.lang.Object
  extended byjaligner.util.Commons

public abstract class Commons
extends java.lang.Object

Global constants/variables/settings

Author:
Ahmed Moustafa (ahmed@users.sf.net)

Constructor Summary
Commons()
           
 
Method Summary
static java.lang.String getCurrentRelease()
          Returns the current release version of JAligner
static java.lang.String getFileSeparator()
          Returns system file separator.
static java.lang.String getJAlignerInfo()
          Returns information about JAligner
static java.lang.String getLineSeparator()
          Returns system line separator.
static java.lang.String getUserDirectory()
          Returns user's current directory.
static boolean isJnlp()
          Returns true if jnlp is enabled
static void setJnlp(boolean jnlp)
          Sets the JNLP flag to true of false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commons

public Commons()
Method Detail

getFileSeparator

public static java.lang.String getFileSeparator()
Returns system file separator.

Returns:
file separator

getLineSeparator

public static java.lang.String getLineSeparator()
Returns system line separator.

Returns:
line separator

getUserDirectory

public static java.lang.String getUserDirectory()
Returns user's current directory.

Returns:
user's current directory

setJnlp

public static void setJnlp(boolean jnlp)
Sets the JNLP flag to true of false

Parameters:
jnlp - true or false

isJnlp

public static boolean isJnlp()
Returns true if jnlp is enabled

Returns:
true if jnlp is enabled, otherwise returns false

getCurrentRelease

public static java.lang.String getCurrentRelease()
Returns the current release version of JAligner

Returns:
current release

getJAlignerInfo

public static java.lang.String getJAlignerInfo()
Returns information about JAligner

Returns:
information about JAligner

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)