Class CasingDetector

java.lang.Object
pl.put.poznan.jsontools.logic.casings.CasingDetector

public class CasingDetector extends Object
Utility class providing casing scheme detector.
  • Constructor Details

    • CasingDetector

      public CasingDetector()
  • Method Details

    • detectCasingScheme

      public CasingScheme detectCasingScheme(String text)
      Decides what casing scheme has been used to write the string `text`.
      Parameters:
      text - The string to analyze
      Returns:
      One of casing schemes or unknown if the scheme cannot be determined