Class NormalizedProjectName.Simple

java.lang.Object
com.artipie.pypi.NormalizedProjectName.Simple
All Implemented Interfaces:
NormalizedProjectName
Enclosing interface:
NormalizedProjectName

public static final class NormalizedProjectName.Simple extends Object implements NormalizedProjectName
Simple NormalizedProjectName implementation: normalise given name by replacing ., -, or _ with a single - and making all characters lowecase. Name can contain ASCII alphabet, ASCII numbers, ., -, and _.
Since:
0.6
  • Constructor Details

    • Simple

      public Simple(String name)
      Ctor.
      Parameters:
      name - Name to normalize
  • Method Details