Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-179

[lang]patch] StringUtils.isAsciiPrintable()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • lang.*
    • None
    • Operating System: other
      Platform: Other

    • 22489

    Description

      Sometimes it is useful to know whether a particular string contains only ASCII
      printable characters or not. For instance, this is useful when implementing
      HTTP, FTP or SMTP.

      The following patches add an isAsciiPrintable() static method to StringUtils and
      a testcase method to StringUtilsIsTest.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--diff
          3 kB
          Michael Davey
        2. ASF.LICENSE.NOT.GRANTED--diff.test
          3 kB
          Michael Davey
        3. ASF.LICENSE.NOT.GRANTED--StringUtils.patch
          3 kB
          Fredrik Westermarck
        4. ASF.LICENSE.NOT.GRANTED--StringUtilsIsTest.patch
          3 kB
          Fredrik Westermarck

        Activity

          People

            Unassigned Unassigned
            michael.davey@coderage.org Michael Davey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: