Class StringExaminer

java.lang.Object
ch.nolix.base.commontypetool.stringtool.StringExaminer
All Implemented Interfaces:
IStringExaminer

public final class StringExaminer extends Object implements IStringExaminer
Author:
Silvan Wyss
  • Constructor Details

    • StringExaminer

      public StringExaminer()
  • Method Details

    • isLowerCase

      public boolean isLowerCase(String string)
      Specified by:
      isLowerCase in interface IStringExaminer
      Parameters:
      string -
      Returns:
      true if the given string is in lower case, false otherwise.
    • isPascalCase

      public boolean isPascalCase(String string)
      Specified by:
      isPascalCase in interface IStringExaminer
      Parameters:
      string -
      Returns:
      true if the given string is in pascal case, false otherwise.
    • startsWithIgnoringCase

      public boolean startsWithIgnoringCase(String string, String prefix)
      Specified by:
      startsWithIgnoringCase in interface IStringExaminer
      Parameters:
      string -
      prefix -
      Returns:
      true if the given string starts with the given prefix ignoring case, false otherwise.