Package com.artipie.pypi
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.artipie.pypi.NormalizedProjectName
NormalizedProjectName.Simple
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Simple
Ctor.- Parameters:
name
- Name to normalize
-
-
Method Details
-
value
Description copied from interface:NormalizedProjectName
Python project name.- Specified by:
value
in interfaceNormalizedProjectName
- Returns:
- String value
-